mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-01 15:17:25 +00:00
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:
@@ -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(); }
|
||||
|
||||
Reference in New Issue
Block a user