diff options
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 |
commit | 633021e6ff6b9a57a374a994e74cfd69275ce100 (patch) | |
tree | 78755b7e5d90f1374b317cea2193605de9bdd2d9 /compiler/optimizing/dead_code_elimination_test.cc | |
parent | a8069ce1c3caa4f9b1651988986f3732152c186d (diff) | |
download | art-633021e6ff6b9a57a374a994e74cfd69275ce100.tar.gz art-633021e6ff6b9a57a374a994e74cfd69275ce100.tar.bz2 art-633021e6ff6b9a57a374a994e74cfd69275ce100.zip |
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/dead_code_elimination_test.cc')
-rw-r--r-- | compiler/optimizing/dead_code_elimination_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/optimizing/dead_code_elimination_test.cc b/compiler/optimizing/dead_code_elimination_test.cc index 245bcb21d5..3e0ba3aee3 100644 --- a/compiler/optimizing/dead_code_elimination_test.cc +++ b/compiler/optimizing/dead_code_elimination_test.cc @@ -47,7 +47,7 @@ static void TestCode(const uint16_t* data, ASSERT_EQ(actual_after, expected_after); SSAChecker ssa_checker(&allocator, graph); - ssa_checker.VisitInsertionOrder(); + ssa_checker.Run(); ASSERT_TRUE(ssa_checker.IsValid()); } |