refactor callers of insertType. inline insertType into its one remaining caller.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34124 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2007-02-10 04:51:21 +00:00
parent 25c3fa3152
commit 17d60ce795
2 changed files with 11 additions and 23 deletions

View File

@@ -111,12 +111,6 @@ private:
int getOrCreateSlot(const Value *V);
unsigned getOrCreateTypeSlot(const Type *T);
// insertValue - Insert a value into the value table... Return the
// slot that it occupies, or -1 if the declaration is to be ignored
// because of the IgnoreNamedNodes flag.
//
unsigned insertType(const Type *T);
// doInsertValue - Small helper function to be called only be insertVal.
unsigned doInsertType(const Type *T);