getTypeSlot can never fail

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34129 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2007-02-10 05:17:48 +00:00
parent a2bdad49c9
commit 972b4dccaf
3 changed files with 26 additions and 62 deletions

View File

@@ -66,7 +66,7 @@ public:
/// plane. This returns < 0 on error!
///
unsigned getSlot(const Value *V) const;
int getTypeSlot(const Type* T) const;
unsigned getTypeSlot(const Type* T) const;
inline unsigned getNumPlanes() const { return Table.size(); }
inline unsigned getNumTypes() const { return Types.size(); }