Index: src/IceCfgNode.h |
diff --git a/src/IceCfgNode.h b/src/IceCfgNode.h |
index 45b25fce0bd68c2fa21f1be1821a5b83a280c201..40c7d8511935df7988742720edac3a8d269858ba 100644 |
--- a/src/IceCfgNode.h |
+++ b/src/IceCfgNode.h |
@@ -116,10 +116,14 @@ public: |
void addOutEdge(CfgNode *Out) { OutEdges.push_back(Out); } |
void addInEdge(CfgNode *In) { InEdges.push_back(In); } |
+ void replaceInEdge(CfgNode *Old, CfgNode *New); |
+ void removeAllOutEdges() { OutEdges.clear(); } |
+ void removeInEdge(CfgNode *In); |
bool hasSingleOutEdge() const { |
return (getOutEdges().size() == 1 || getOutEdges()[0] == getOutEdges()[1]); |
} |
+ CfgNode *shortCircuit(); |
private: |
CfgNode(Cfg *Func, SizeT Number) |