Make Instruction::getBlock() const.
This commit is contained in:
parent
377f0cab26
commit
fa242904b0
1 changed files with 1 additions and 1 deletions
|
|
@ -110,7 +110,7 @@ public:
|
|||
}
|
||||
}
|
||||
void setBlock(Block* b) { block = b; }
|
||||
Block* getBlock() { return block; }
|
||||
Block* getBlock() const { return block; }
|
||||
Op getOpCode() const { return opCode; }
|
||||
int getNumOperands() const { return (int)operands.size(); }
|
||||
Id getResultId() const { return resultId; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue