diff options
| author | 2014-10-16 13:26:29 +0000 | |
|---|---|---|
| committer | 2014-10-16 13:26:29 +0000 | |
| commit | ec2ea6ff6e3d7816df889454866a28b58ce6e6f5 (patch) | |
| tree | 41ec0fcacce25807fbc28965fb5e93d6c176c55e /compiler/optimizing/nodes.h | |
| parent | c15c4066233b644f3086eef80007a7cf878d4867 (diff) | |
| parent | 633021e6ff6b9a57a374a994e74cfd69275ce100 (diff) | |
Merge "Implement default traversals in CFG & SSA graph checkers."
Diffstat (limited to 'compiler/optimizing/nodes.h')
| -rw-r--r-- | compiler/optimizing/nodes.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/optimizing/nodes.h b/compiler/optimizing/nodes.h index c6eb806904..e60a7e62db 100644 --- a/compiler/optimizing/nodes.h +++ b/compiler/optimizing/nodes.h @@ -1961,8 +1961,12 @@ class HGraphVisitor : public ValueObject { virtual void VisitInstruction(HInstruction* instruction) {} virtual void VisitBasicBlock(HBasicBlock* block); + // Visit the graph following basic block insertion order. void VisitInsertionOrder(); + // Visit the graph following dominator tree reverse post-order. + void VisitReversePostOrder(); + HGraph* GetGraph() const { return graph_; } // Visit functions for instruction classes. |