Chromium Code Reviews| Index: src/IceCfgNode.h |
| diff --git a/src/IceCfgNode.h b/src/IceCfgNode.h |
| index f7e7b0e20ee07e190a13a94901874682ba04a85e..0693dad0907b478f0c5c6859203143d5765dccd2 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,9 @@ public: |
| void profileExecutionCount(VariableDeclaration *Var); |
| + void addOutEdge(CfgNode *out) { OutEdges.push_back(out); } |
|
Jim Stichnoth
2016/03/29 17:49:57
Capitalize Out and In vars per LLVM convention.
Eric Holk
2016/03/29 22:58:07
Done.
|
| + void addInEdge(CfgNode *in) { InEdges.push_back(in); } |
| + |
| private: |
| CfgNode(Cfg *Func, SizeT LabelIndex); |
| bool livenessValidateIntervals(Liveness *Liveness) const; |