Index: src/IceCfgNode.h |
diff --git a/src/IceCfgNode.h b/src/IceCfgNode.h |
index 40c7d8511935df7988742720edac3a8d269858ba..cf20e139a6e4e6a2d04c949e8cf1482754432493 100644 |
--- a/src/IceCfgNode.h |
+++ b/src/IceCfgNode.h |
@@ -76,6 +76,8 @@ public: |
/// @{ |
InstList &getInsts() { return Insts; } |
PhiList &getPhis() { return Phis; } |
+ const InstList &getInsts() const { return Insts; } |
+ const PhiList &getPhis() const { return Phis; } |
void appendInst(Inst *Instr); |
void renumberInstructions(); |
/// Rough and generally conservative estimate of the number of instructions in |