From: Dejan Mircevski Date: Tue, 19 Jan 2016 16:31:55 +0000 (-0500) Subject: Make Instruction::getBlock() const. X-Git-Tag: upstream/0.1~293^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fa242904b04edd7f0c21cc005b0a25fe8c48784f;p=platform%2Fupstream%2Fglslang.git Make Instruction::getBlock() const. --- diff --git a/SPIRV/spvIR.h b/SPIRV/spvIR.h index 91e42aa..688068d 100755 --- a/SPIRV/spvIR.h +++ b/SPIRV/spvIR.h @@ -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; }