mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-01 13:17:01 +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:
@@ -70,7 +70,7 @@ static void outputInstructionFormat0(const Instruction *I, unsigned Opcode,
|
||||
|
||||
if (isa<SequentialType>(*TI)) {
|
||||
unsigned IdxId;
|
||||
switch (I->getOperand(Idx)->getType()->getPrimitiveID()) {
|
||||
switch (I->getOperand(Idx)->getType()->getTypeID()) {
|
||||
default: assert(0 && "Unknown index type!");
|
||||
case Type::UIntTyID: IdxId = 0; break;
|
||||
case Type::IntTyID: IdxId = 1; break;
|
||||
@@ -298,7 +298,7 @@ void BytecodeWriter::outputInstruction(const Instruction &I) {
|
||||
I != E; ++I, ++Idx)
|
||||
if (isa<SequentialType>(*I)) {
|
||||
unsigned IdxId;
|
||||
switch (GEP->getOperand(Idx)->getType()->getPrimitiveID()) {
|
||||
switch (GEP->getOperand(Idx)->getType()->getTypeID()) {
|
||||
default: assert(0 && "Unknown index type!");
|
||||
case Type::UIntTyID: IdxId = 0; break;
|
||||
case Type::IntTyID: IdxId = 1; break;
|
||||
|
Reference in New Issue
Block a user