projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d90e64e
)
Remove dead code.
author
Rui Ueyama
<ruiu@google.com>
Sat, 31 Jan 2015 04:19:55 +0000
(
04:19
+0000)
committer
Rui Ueyama
<ruiu@google.com>
Sat, 31 Jan 2015 04:19:55 +0000
(
04:19
+0000)
llvm-svn: 227671
lld/lib/ReaderWriter/CoreLinkingContext.cpp
patch
|
blob
|
history
diff --git
a/lld/lib/ReaderWriter/CoreLinkingContext.cpp
b/lld/lib/ReaderWriter/CoreLinkingContext.cpp
index
733bb14
..
b526039
100644
(file)
--- a/
lld/lib/ReaderWriter/CoreLinkingContext.cpp
+++ b/
lld/lib/ReaderWriter/CoreLinkingContext.cpp
@@
-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() {}