Commit fa242904 by Dejan Mircevski

Make Instruction::getBlock() const.

parent 377f0cab
......@@ -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; }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment