diff options
author | 2015-10-08 15:47:08 +0000 | |
---|---|---|
committer | 2015-10-08 15:47:08 +0000 | |
commit | 359f77c44dafef7ebed027180422ee75eef1467c (patch) | |
tree | b4b7fd4f8bf646dcd106351aaf2f5c1e6d719911 /compiler/optimizing/suspend_check_test.cc | |
parent | 64d8d93aa9359b1126513dba92e27dbe184bfe3a (diff) | |
parent | ec7802a102d49ab5c17495118d4fe0bcc7287beb (diff) |
Merge "Add DCHECKs to ArenaVector and ScopedArenaVector."
Diffstat (limited to 'compiler/optimizing/suspend_check_test.cc')
-rw-r--r-- | compiler/optimizing/suspend_check_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/optimizing/suspend_check_test.cc b/compiler/optimizing/suspend_check_test.cc index e745d94b89..b6c704c1b1 100644 --- a/compiler/optimizing/suspend_check_test.cc +++ b/compiler/optimizing/suspend_check_test.cc @@ -36,7 +36,7 @@ static void TestCode(const uint16_t* data) { bool graph_built = builder.BuildGraph(*item); ASSERT_TRUE(graph_built); - HBasicBlock* first_block = graph->GetEntryBlock()->GetSuccessor(0); + HBasicBlock* first_block = graph->GetEntryBlock()->GetSuccessors()[0]; HInstruction* first_instruction = first_block->GetFirstInstruction(); // Account for some tests having a store local as first instruction. ASSERT_TRUE(first_instruction->IsSuspendCheck() |