[lld] r231444 - Remove unused function.

Rui Ueyama ruiu at google.com
Thu Mar 5 17:44:07 PST 2015


Author: ruiu
Date: Thu Mar  5 19:44:07 2015
New Revision: 231444

URL: http://llvm.org/viewvc/llvm-project?rev=231444&view=rev
Log:
Remove unused function.

Modified:
    lld/trunk/include/lld/Core/SymbolTable.h
    lld/trunk/lib/Core/SymbolTable.cpp

Modified: lld/trunk/include/lld/Core/SymbolTable.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/include/lld/Core/SymbolTable.h?rev=231444&r1=231443&r2=231444&view=diff
==============================================================================
--- lld/trunk/include/lld/Core/SymbolTable.h (original)
+++ lld/trunk/include/lld/Core/SymbolTable.h Thu Mar  5 19:44:07 2015
@@ -61,9 +61,6 @@ public:
   /// returns vector of tentative definitions
   std::vector<StringRef> tentativeDefinitions();
 
-  /// @brief count of by-name entries in symbol table
-  unsigned int size();
-
   /// @brief add atom to replacement table
   void addReplacement(const Atom *replaced, const Atom *replacement);
 

Modified: lld/trunk/lib/Core/SymbolTable.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/Core/SymbolTable.cpp?rev=231444&r1=231443&r2=231444&view=diff
==============================================================================
--- lld/trunk/lib/Core/SymbolTable.cpp (original)
+++ lld/trunk/lib/Core/SymbolTable.cpp Thu Mar  5 19:44:07 2015
@@ -362,10 +362,6 @@ bool SymbolTable::isCoalescedAway(const
   return _replacedAtoms.count(atom) > 0;
 }
 
-unsigned int SymbolTable::size() {
-  return _nameTable.size();
-}
-
 std::vector<const UndefinedAtom *> SymbolTable::undefines() {
   std::vector<const UndefinedAtom *> ret;
   for (auto it : _nameTable) {





More information about the llvm-commits mailing list