[lld] r290241 - De-template DefinedSynthetic.

Rafael Avila de Espindola via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 21 07:12:43 PST 2016


Rui Ueyama via llvm-commits <llvm-commits at lists.llvm.org> writes:


> Log:
> De-template DefinedSynthetic.

Thanks!

>      if (!Sec)
>        return D.Value;
> -    if (D.Value == DefinedSynthetic<ELFT>::SectionEnd)
> +    if (D.Value == uintX_t(-1))

Having a name for the -1 was probably a good thing.

Cheers,
Rafael


More information about the llvm-commits mailing list