Index: src/IceCfgNode.h |
diff --git a/src/IceCfgNode.h b/src/IceCfgNode.h |
index 14eafa9d2877cd3e6f582e5bd6d7d2670b659eed..dbc2cce5a7a17d6713c93eef76241344bc349d45 100644 |
--- a/src/IceCfgNode.h |
+++ b/src/IceCfgNode.h |
@@ -31,6 +31,8 @@ public: |
return new (Func->allocate<CfgNode>()) CfgNode(Func, LabelIndex); |
} |
+ Cfg *getCfg() const { return Func; } |
+ |
/// Access the label number and name for this node. |
SizeT getIndex() const { return Number; } |
void resetIndex(SizeT NewNumber) { Number = NewNumber; } |