summaryrefslogtreecommitdiff
path: root/compiler/optimizing/constant_propagation_test.cc
diff options
context:
space:
mode:
author Roland Levillain <rpl@google.com> 2014-10-01 14:12:25 +0100
committer Roland Levillain <rpl@google.com> 2014-10-14 14:44:16 +0100
commit633021e6ff6b9a57a374a994e74cfd69275ce100 (patch)
tree78755b7e5d90f1374b317cea2193605de9bdd2d9 /compiler/optimizing/constant_propagation_test.cc
parenta8069ce1c3caa4f9b1651988986f3732152c186d (diff)
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
Diffstat (limited to 'compiler/optimizing/constant_propagation_test.cc')
-rw-r--r--compiler/optimizing/constant_propagation_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/optimizing/constant_propagation_test.cc b/compiler/optimizing/constant_propagation_test.cc
index 342777a49c..ff44805ed2 100644
--- a/compiler/optimizing/constant_propagation_test.cc
+++ b/compiler/optimizing/constant_propagation_test.cc
@@ -62,7 +62,7 @@ static void TestCode(const uint16_t* data,
ASSERT_EQ(expected_after_dce, actual_after_dce);
SSAChecker ssa_checker(&allocator, graph);
- ssa_checker.VisitInsertionOrder();
+ ssa_checker.Run();
ASSERT_TRUE(ssa_checker.IsValid());
}