Make Instruction::getBlock() const.
This commit is contained in:
parent
377f0cab26
commit
fa242904b0
@ -110,7 +110,7 @@ public:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
void setBlock(Block* b) { block = b; }
|
void setBlock(Block* b) { block = b; }
|
||||||
Block* getBlock() { return block; }
|
Block* getBlock() const { return block; }
|
||||||
Op getOpCode() const { return opCode; }
|
Op getOpCode() const { return opCode; }
|
||||||
int getNumOperands() const { return (int)operands.size(); }
|
int getNumOperands() const { return (int)operands.size(); }
|
||||||
Id getResultId() const { return resultId; }
|
Id getResultId() const { return resultId; }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user