Remove dead code.
authorRui Ueyama <ruiu@google.com>
Sat, 31 Jan 2015 04:19:55 +0000 (04:19 +0000)
committerRui Ueyama <ruiu@google.com>
Sat, 31 Jan 2015 04:19:55 +0000 (04:19 +0000)
llvm-svn: 227671

lld/lib/ReaderWriter/CoreLinkingContext.cpp

index 733bb14..b526039 100644 (file)
@@ -145,18 +145,6 @@ private:
   uint32_t _ordinal;
 };
 
-class TestingPassFile : public SimpleFile {
-public:
-  TestingPassFile(const LinkingContext &ctx) : SimpleFile("Testing pass") {}
-
-  void addAtom(const Atom &atom) override {
-    if (const DefinedAtom *defAtom = dyn_cast<DefinedAtom>(&atom))
-      _definedAtoms._atoms.push_back(defAtom);
-    else
-      llvm_unreachable("atom has unknown definition kind");
-  }
-};
-
 } // anonymous namespace
 
 CoreLinkingContext::CoreLinkingContext() {}