[lld] r227709 - [ELF] Don't compare an atom with itself in compareByPosition().

Davide Italiano davide at freebsd.org
Tue Feb 3 15:47:04 PST 2015


On Mon, Feb 2, 2015 at 11:03 AM, Rui Ueyama <ruiu at google.com> wrote:
> This is a nit, but probably we should move the if statement to the very
> beginning of the function, so that we can save two function calls of file()
> if the two pointers are the same.
>

Fixed in r28869.

Thanks.

--
Davide



More information about the llvm-commits mailing list