diff options
author | 2016-01-20 21:23:10 +0000 | |
---|---|---|
committer | 2016-01-20 21:23:10 +0000 | |
commit | fee4e2eff0b6d76fb52e776802efae8d0b8ee0bf (patch) | |
tree | 4b24fde686f2fd948212122c0b1e3d1282545f39 /compiler/optimizing/graph_test.cc | |
parent | 0e342cd5ccf0f648e165fa4fd270b44dfbea8be6 (diff) |
Revert "Fix gtests after loop inlining support."
This reverts commit 0e342cd5ccf0f648e165fa4fd270b44dfbea8be6.
Loop inlining exposes BCE issues.
Bug: 26689526
Change-Id: Iab0f8f502d8b389af4efc2e99e28cae59c00ee9b
Diffstat (limited to 'compiler/optimizing/graph_test.cc')
-rw-r--r-- | compiler/optimizing/graph_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/optimizing/graph_test.cc b/compiler/optimizing/graph_test.cc index d5305646a8..d4b9b71952 100644 --- a/compiler/optimizing/graph_test.cc +++ b/compiler/optimizing/graph_test.cc @@ -164,7 +164,7 @@ TEST(GraphTest, IfSuccessorMultipleBackEdges1) { // Ensure there is only one back edge. ASSERT_EQ(if_block->GetPredecessors().size(), 2u); - ASSERT_EQ(if_block->GetPredecessors()[0], entry_block->GetSingleSuccessor()); + ASSERT_EQ(if_block->GetPredecessors()[0], entry_block); ASSERT_NE(if_block->GetPredecessors()[1], if_block); // Ensure the new block is the back edge. @@ -199,7 +199,7 @@ TEST(GraphTest, IfSuccessorMultipleBackEdges2) { // Ensure there is only one back edge. ASSERT_EQ(if_block->GetPredecessors().size(), 2u); - ASSERT_EQ(if_block->GetPredecessors()[0], entry_block->GetSingleSuccessor()); + ASSERT_EQ(if_block->GetPredecessors()[0], entry_block); ASSERT_NE(if_block->GetPredecessors()[1], if_block); // Ensure the new block is the back edge. |