simplify code.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34123 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2007-02-10 04:47:51 +00:00
parent 36e1173baa
commit 25c3fa3152
2 changed files with 13 additions and 33 deletions

View File

@@ -109,16 +109,16 @@ private:
// they are ignored.
//
int getOrCreateSlot(const Value *V);
int getOrCreateTypeSlot(const Type *T);
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.
//
int insertType(const Type *T);
unsigned insertType(const Type *T);
// doInsertValue - Small helper function to be called only be insertVal.
int doInsertType(const Type *T);
unsigned doInsertType(const Type *T);
// processModule - Process all of the module level function declarations and
// types that are available.