diff options
author | Chris Lattner <sabre@nondot.org> | 2005-03-06 02:25:02 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-03-06 02:25:02 +0000 |
commit | 8344ba0dac91a3643304bca7ee123cc3d2d62d6b (patch) | |
tree | cc83da1e44715e4af32ad6bcd9c1c5373547d050 /llvm | |
parent | ffb3778f87075a38eddfdf68f2b999b4eb0d24de (diff) | |
download | bcm5719-llvm-8344ba0dac91a3643304bca7ee123cc3d2d62d6b.tar.gz bcm5719-llvm-8344ba0dac91a3643304bca7ee123cc3d2d62d6b.zip |
nuke some dead methods.
llvm-svn: 20470
Diffstat (limited to 'llvm')
-rw-r--r-- | llvm/include/llvm/SymbolTable.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/llvm/include/llvm/SymbolTable.h b/llvm/include/llvm/SymbolTable.h index 7df189896ee..c478a2d8990 100644 --- a/llvm/include/llvm/SymbolTable.h +++ b/llvm/include/llvm/SymbolTable.h @@ -159,16 +159,6 @@ public: insertEntry(Val->getName(), Val->getType(), Val); } - /// Inserts a constant into the symbol table with the specified - /// name. There can be a many to one mapping between names and constants. - /// @brief Insert a constant or type. - inline void insert(const std::string &Name, Value *Val) { - assert(Val && "Can't insert null type into symbol table!"); - assert(isa<Constant>(Val) && - "Can only insert constants into a symbol table!"); - insertEntry(Name, Val->getType(), Val); - } - /// Inserts a type into the symbol table with the specified name. There /// can be a many-to-one mapping between names and types. This method /// allows a type with an existing entry in the symbol table to get @@ -194,16 +184,6 @@ public: /// @brief Remove a named type from the symbol table. void remove(const Type* Typ); - /// Remove a constant or type with the specified name from the - /// symbol table. - /// @returns the removed Value. - /// @brief Remove a constant or type from the symbol table. - inline Value* remove(const std::string &Name, Value *Val) { - assert(Val && "Can't remove null value from symbol table!"); - plane_iterator PI = pmap.find(Val->getType()); - return removeEntry(PI, PI->second.find(Name)); - } - /// Remove a type at the specified position in the symbol table. /// @returns the removed Type. inline Type* remove(type_iterator TI) { |