[lld] r245056 - Delete dead code.

Rafael Espindola via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 14 07:58:58 PDT 2015


Author: rafael
Date: Fri Aug 14 09:58:57 2015
New Revision: 245056

URL: http://llvm.org/viewvc/llvm-project?rev=245056&view=rev
Log:
Delete dead code.

Modified:
    lld/trunk/ELF/Symbols.h

Modified: lld/trunk/ELF/Symbols.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/Symbols.h?rev=245056&r1=245055&r2=245056&view=diff
==============================================================================
--- lld/trunk/ELF/Symbols.h (original)
+++ lld/trunk/ELF/Symbols.h Fri Aug 14 09:58:57 2015
@@ -55,7 +55,6 @@ public:
   // has chosen the object among other objects having the same name,
   // you can access P->Backref->Body to get the resolver's result.
   void setBackref(Symbol *P) { Backref = P; }
-  SymbolBody *getReplacement() { return Backref ? Backref->Body : this; }
 
   // Decides which symbol should "win" in the symbol table, this or
   // the Other. Returns 1 if this wins, -1 if the Other wins, or 0 if




More information about the llvm-commits mailing list