diff options
author | Chris Lattner <sabre@nondot.org> | 2004-06-17 18:19:28 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-06-17 18:19:28 +0000 |
commit | 6b7275996c78e50ca8b7d13625296b92d74b86c7 (patch) | |
tree | 75817e19a6f0bb380bf1a9ba39f0664076fb5705 /llvm/lib/Bytecode/Writer/SlotTable.cpp | |
parent | 97bfcea262bbdeba8f8d468ff999008a4c448474 (diff) | |
download | bcm5719-llvm-6b7275996c78e50ca8b7d13625296b92d74b86c7.tar.gz bcm5719-llvm-6b7275996c78e50ca8b7d13625296b92d74b86c7.zip |
Rename Type::PrimitiveID to TypeId and ::getPrimitiveID() to ::getTypeID()
llvm-svn: 14201
Diffstat (limited to 'llvm/lib/Bytecode/Writer/SlotTable.cpp')
-rw-r--r-- | llvm/lib/Bytecode/Writer/SlotTable.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Bytecode/Writer/SlotTable.cpp b/llvm/lib/Bytecode/Writer/SlotTable.cpp index 358a6ea21e0..42b0b5adb89 100644 --- a/llvm/lib/Bytecode/Writer/SlotTable.cpp +++ b/llvm/lib/Bytecode/Writer/SlotTable.cpp @@ -106,7 +106,7 @@ SlotTable::SlotNum SlotTable::remove( const Type* Typ ) { // and that their Primitive ID is equal to their slot # void SlotTable::insertPrimitives() { for (PlaneNum plane = 0; plane < Type::FirstDerivedTyID; ++plane) { - const Type* Ty = Type::getPrimitiveType((Type::PrimitiveID) plane); + const Type* Ty = Type::getPrimitiveType((Type::TypeID) plane); assert(Ty && "Couldn't get primitive type id"); SlotNum slot = this->insert(Ty); assert(slot == plane && "Type slot didn't match plane number"); |