[lld] r297942 - [ELF] - Removed unused template #3. NFC.

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 16 03:55:46 PDT 2017


Author: grimar
Date: Thu Mar 16 05:55:45 2017
New Revision: 297942

URL: http://llvm.org/viewvc/llvm-project?rev=297942&view=rev
Log:
[ELF] - Removed unused template #3. NFC.

Modified:
    lld/trunk/ELF/Relocations.cpp

Modified: lld/trunk/ELF/Relocations.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/Relocations.cpp?rev=297942&r1=297941&r2=297942&view=diff
==============================================================================
--- lld/trunk/ELF/Relocations.cpp (original)
+++ lld/trunk/ELF/Relocations.cpp Thu Mar 16 05:55:45 2017
@@ -958,8 +958,7 @@ bool createThunks(ArrayRef<OutputSection
     for (InputSection *IS : OS->Sections) {
       for (Relocation &Rel : IS->Relocations) {
         SymbolBody &Body = *Rel.Sym;
-        if (Target->needsThunk(Rel.Expr, Rel.Type, IS->template getFile<ELFT>(),
-                               Body)) {
+        if (Target->needsThunk(Rel.Expr, Rel.Type, IS->File, Body)) {
           Thunk *T;
           bool IsNew;
           std::tie(T, IsNew) = GetThunk(Body, Rel.Type);




More information about the llvm-commits mailing list