commit | 81d804a51d4fc415e1544a5a09505db049f4eda6 | [log] [tgz] |
---|---|---|
author | Guillaume "Vermeille" Sanchez <guillaumesa@google.com> | Wed May 20 12:42:25 2015 +0100 |
committer | Guillaume "Vermeille" Sanchez <guillaumesa@google.com> | Wed May 27 18:10:31 2015 +0100 |
tree | fcb1fbb3acf1c6328c5e6a8147e5a6f12a907534 | |
parent | c06841dac1443e99e92596f15caa82c99bfee010 [diff] [blame] |
Bring Reference Type Propagation to NewArray Change-Id: Ieff4f38854e06b0ed4b5689ced94a4289053d80d
diff --git a/compiler/optimizing/bounds_check_elimination_test.cc b/compiler/optimizing/bounds_check_elimination_test.cc index 163458f..48090a3 100644 --- a/compiler/optimizing/bounds_check_elimination_test.cc +++ b/compiler/optimizing/bounds_check_elimination_test.cc
@@ -647,7 +647,7 @@ graph->AddBlock(block); entry->AddSuccessor(block); HInstruction* new_array = new (allocator) - HNewArray(constant_10, 0, Primitive::kPrimInt, kQuickAllocArray); + HNewArray(constant_10, 0, Primitive::kPrimInt, graph->GetDexFile(), kQuickAllocArray); block->AddInstruction(new_array); block->AddInstruction(new (allocator) HGoto());