mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 06:25:18 +00:00
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
This commit is contained in:
@@ -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");
|
||||
|
Reference in New Issue
Block a user