[lld] r205454 - Remove dead code.
Rui Ueyama
ruiu at google.com
Wed Apr 2 12:42:35 PDT 2014
Author: ruiu
Date: Wed Apr 2 14:42:35 2014
New Revision: 205454
URL: http://llvm.org/viewvc/llvm-project?rev=205454&view=rev
Log:
Remove dead code.
Modified:
lld/trunk/include/lld/Core/Resolver.h
lld/trunk/lib/Core/Resolver.cpp
Modified: lld/trunk/include/lld/Core/Resolver.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/include/lld/Core/Resolver.h?rev=205454&r1=205453&r2=205454&view=diff
==============================================================================
--- lld/trunk/include/lld/Core/Resolver.h (original)
+++ lld/trunk/include/lld/Core/Resolver.h Wed Apr 2 14:42:35 2014
@@ -73,7 +73,6 @@ private:
bool checkUndefines();
void removeCoalescedAwayAtoms();
void checkDylibSymbolCollisions();
- void linkTimeOptimize();
void forEachUndefines(UndefCallback callback, bool searchForOverrides);
void markLive(const Atom &atom);
Modified: lld/trunk/lib/Core/Resolver.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/Core/Resolver.cpp?rev=205454&r1=205453&r2=205454&view=diff
==============================================================================
--- lld/trunk/lib/Core/Resolver.cpp (original)
+++ lld/trunk/lib/Core/Resolver.cpp Wed Apr 2 14:42:35 2014
@@ -453,10 +453,6 @@ void Resolver::removeCoalescedAwayAtoms(
_atoms.end());
}
-void Resolver::linkTimeOptimize() {
- // FIX ME
-}
-
bool Resolver::resolve() {
if (!this->resolveUndefines())
return false;
@@ -466,7 +462,6 @@ bool Resolver::resolve() {
if (!_context.allowRemainingUndefines())
return false;
this->removeCoalescedAwayAtoms();
- this->linkTimeOptimize();
this->_result->addAtoms(_atoms);
return true;
}
More information about the llvm-commits
mailing list