| Index: src/IceCfgNode.h | 
| diff --git a/src/IceCfgNode.h b/src/IceCfgNode.h | 
| index b81c5c204a890918d574b79e69cc9abb6c7b9c60..f4d40312b8d469f0bb6ae189bf77120a1d73ec39 100644 | 
| --- a/src/IceCfgNode.h | 
| +++ b/src/IceCfgNode.h | 
| @@ -72,7 +72,7 @@ public: | 
| /// @{ | 
| InstList &getInsts() { return Insts; } | 
| PhiList &getPhis() { return Phis; } | 
| -  void appendInst(Inst *Instr); | 
| +  void appendInst(Inst *Instr, bool AllowPhisAnywhere = false); | 
| void renumberInstructions(); | 
| /// Rough and generally conservative estimate of the number of instructions in | 
| /// the block. It is updated when an instruction is added, but not when | 
| @@ -110,6 +110,13 @@ public: | 
|  | 
| void profileExecutionCount(VariableDeclaration *Var); | 
|  | 
| +  void addOutEdge(CfgNode *Out) { OutEdges.push_back(Out); } | 
| +  void addInEdge(CfgNode *In) { InEdges.push_back(In); } | 
| + | 
| +  bool hasSingleOutEdge() const { | 
| +    return (getOutEdges().size() == 1 || getOutEdges()[0] == getOutEdges()[1]); | 
| +  } | 
| + | 
| private: | 
| CfgNode(Cfg *Func, SizeT Number); | 
| bool livenessValidateIntervals(Liveness *Liveness) const; | 
|  |