From 633021e6ff6b9a57a374a994e74cfd69275ce100 Mon Sep 17 00:00:00 2001 From: Roland Levillain Date: Wed, 1 Oct 2014 14:12:25 +0100 Subject: 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 --- compiler/optimizing/constant_propagation_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/optimizing/constant_propagation_test.cc') 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()); } -- cgit v1.2.3-59-g8ed1b