commit | 633021e6ff6b9a57a374a994e74cfd69275ce100 | [log] [tgz] |
---|---|---|
author | Roland Levillain <rpl@google.com> | Wed Oct 01 14:12:25 2014 +0100 |
committer | Roland Levillain <rpl@google.com> | Tue Oct 14 14:44:16 2014 +0100 |
tree | 78755b7e5d90f1374b317cea2193605de9bdd2d9 | |
parent | a8069ce1c3caa4f9b1651988986f3732152c186d [diff] [blame] |
Implement default traversals in CFG & SSA graph checkers. - Check CFG graphs using an insertion order traversal. - Check SSA form graphs using a reverse post-order traversal. Change-Id: Ib9062599bdbf3c17b9f213b743274b2d71a9fa90
diff --git a/compiler/optimizing/constant_propagation_test.cc b/compiler/optimizing/constant_propagation_test.cc index 342777a..ff44805 100644 --- a/compiler/optimizing/constant_propagation_test.cc +++ b/compiler/optimizing/constant_propagation_test.cc
@@ -62,7 +62,7 @@ ASSERT_EQ(expected_after_dce, actual_after_dce); SSAChecker ssa_checker(&allocator, graph); - ssa_checker.VisitInsertionOrder(); + ssa_checker.Run(); ASSERT_TRUE(ssa_checker.IsValid()); }