1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00

the only caller of insertEntry is insert, inline it and remove insertEntry

llvm-svn: 20485
This commit is contained in:
Chris Lattner 2005-03-06 05:56:02 +00:00
parent 46653269f4
commit 0371aef9a2

View File

@ -143,10 +143,7 @@ public:
/// allows a type with an existing entry in the symbol table to get
/// a new name.
/// @brief Insert a type under a new name.
inline void insert(const std::string &Name, const Type *Typ) {
assert(Typ && "Can't insert null type into symbol table!");
insertEntry(Name, Typ);
}
void insert(const std::string &Name, const Type *Typ);
/// This method removes a named value from the symbol table. The
/// type and name of the Value are extracted from \p N and used to
@ -276,9 +273,6 @@ private:
/// @brief Insert a value into the symbol table with the specified name.
void insertEntry(const std::string &Name, const Type *Ty, Value *V);
/// @brief Insert a type into the symbol table with the specified name.
void insertEntry(const std::string &Name, const Type *T);
/// This function is called when one of the types in the type plane
/// is refined.
virtual void refineAbstractType(const DerivedType *OldTy, const Type *NewTy);