summaryrefslogtreecommitdiff
path: root/compiler/optimizing/bounds_check_elimination.cc
diff options
context:
space:
mode:
author Calin Juravle <calin@google.com> 2015-10-06 15:43:38 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2015-10-06 15:43:38 +0000
commit22d450d37801d05785ad1fc792ea9873225fb6a6 (patch)
tree5c604fbf8a2f4c7781207ceb07e8de4c1d016186 /compiler/optimizing/bounds_check_elimination.cc
parent51d70f1744493d75e5cef946b7f5e398d0df4d3d (diff)
parent154746b84b407cfd166b45e039b62e6a06dc3f39 (diff)
Merge "Remove dex_pc's default value from top level HInstruction"
Diffstat (limited to 'compiler/optimizing/bounds_check_elimination.cc')
-rw-r--r--compiler/optimizing/bounds_check_elimination.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/optimizing/bounds_check_elimination.cc b/compiler/optimizing/bounds_check_elimination.cc
index 960f4d9b7c..2c7c127474 100644
--- a/compiler/optimizing/bounds_check_elimination.cc
+++ b/compiler/optimizing/bounds_check_elimination.cc
@@ -965,7 +965,8 @@ class MonotonicValueRange : public ValueRange {
suspend_check->GetEnvironment(), header);
}
- HArrayLength* new_array_length = new (graph->GetArena()) HArrayLength(array);
+ HArrayLength* new_array_length
+ = new (graph->GetArena()) HArrayLength(array, array->GetDexPc());
deopt_block->InsertInstructionBefore(new_array_length, deopt_block->GetLastInstruction());
if (loop_entry_test_block_added) {