aboutsummaryrefslogtreecommitdiff
path: root/lib/Bytecode/Writer/SlotTable.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-06-17 18:19:28 +0000
committerChris Lattner <sabre@nondot.org>2004-06-17 18:19:28 +0000
commitf70c22b019494723d0e706f93d6542dfaa6e73a5 (patch)
tree6f881c08a706deb8e6f0954a8e5ed53756b24167 /lib/Bytecode/Writer/SlotTable.cpp
parent5dd04027c7133c358c16e8ec9a4bfca8788e3f90 (diff)
Rename Type::PrimitiveID to TypeId and ::getPrimitiveID() to ::getTypeID()
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14201 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bytecode/Writer/SlotTable.cpp')
-rw-r--r--lib/Bytecode/Writer/SlotTable.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Bytecode/Writer/SlotTable.cpp b/lib/Bytecode/Writer/SlotTable.cpp
index 358a6ea21e..42b0b5adb8 100644
--- a/lib/Bytecode/Writer/SlotTable.cpp
+++ b/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");