diff options
author | Rui Ueyama <ruiu@google.com> | 2015-03-05 02:58:13 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2015-03-05 02:58:13 +0000 |
commit | 3ba3e7131ed49306c059d5dc8e0918d45834f71a (patch) | |
tree | 38fcc8dc732a8fac58afe84679af60e378d7ba8e /lld/lib/Core/SymbolTable.cpp | |
parent | 5b2d125c926908c0a8e6592dcb5754fb752a074e (diff) | |
download | bcm5719-llvm-3ba3e7131ed49306c059d5dc8e0918d45834f71a.tar.gz bcm5719-llvm-3ba3e7131ed49306c059d5dc8e0918d45834f71a.zip |
Remove dead code.
This hook is called from one of the hottest loops in LLD and does nothing.
llvm-svn: 231345
Diffstat (limited to 'lld/lib/Core/SymbolTable.cpp')
-rw-r--r-- | lld/lib/Core/SymbolTable.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lld/lib/Core/SymbolTable.cpp b/lld/lib/Core/SymbolTable.cpp index d264cb78d95..51ae9ceb73a 100644 --- a/lld/lib/Core/SymbolTable.cpp +++ b/lld/lib/Core/SymbolTable.cpp @@ -139,7 +139,6 @@ bool SymbolTable::addByName(const Atom &newAtom) { const Atom *existing = findByName(name); if (existing == nullptr) { // Name is not in symbol table yet, add it associate with this atom. - _context.notifySymbolTableAdd(&newAtom); _nameTable[name] = &newAtom; return true; } |