summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2014-04-02 05:57:19 +0000
committerRui Ueyama <ruiu@google.com>2014-04-02 05:57:19 +0000
commit1ecad2c993a94fca00a713a0ae6665bb40758fb8 (patch)
tree6646d0d6b9d0827a81ee099054028c3a29c77cc6
parent5ee3d0080a042c8087f198c037910869e026b469 (diff)
downloadbcm5719-llvm-1ecad2c993a94fca00a713a0ae6665bb40758fb8.tar.gz
bcm5719-llvm-1ecad2c993a94fca00a713a0ae6665bb40758fb8.zip
Remove dead code.
llvm-svn: 205397
-rw-r--r--lld/include/lld/Core/Resolver.h1
-rw-r--r--lld/lib/Core/Resolver.cpp4
2 files changed, 0 insertions, 5 deletions
diff --git a/lld/include/lld/Core/Resolver.h b/lld/include/lld/Core/Resolver.h
index b6d8185b3cd..4e6e42599bc 100644
--- a/lld/include/lld/Core/Resolver.h
+++ b/lld/include/lld/Core/Resolver.h
@@ -47,7 +47,6 @@ public:
virtual void doUndefinedAtom(const UndefinedAtom&);
virtual void doSharedLibraryAtom(const SharedLibraryAtom &);
virtual void doAbsoluteAtom(const AbsoluteAtom &);
- virtual void doFile(const File&);
// Handle files, this adds atoms from the current file thats
// being processed by the resolver
diff --git a/lld/lib/Core/Resolver.cpp b/lld/lib/Core/Resolver.cpp
index 1c16084a934..f42c47edaba 100644
--- a/lld/lib/Core/Resolver.cpp
+++ b/lld/lib/Core/Resolver.cpp
@@ -68,15 +68,11 @@ private:
} // namespace
-// called before the first atom in any file is added with doAtom()
-void Resolver::doFile(const File &file) {}
-
void Resolver::handleFile(const File &file) {
uint32_t resolverState = Resolver::StateNoChange;
const SharedLibraryFile *sharedLibraryFile =
llvm::dyn_cast<SharedLibraryFile>(&file);
- doFile(file);
for (const DefinedAtom *atom : file.defined()) {
doDefinedAtom(*atom);
resolverState |= StateNewDefinedAtoms;
OpenPOWER on IntegriCloud