summaryrefslogtreecommitdiff
path: root/compiler/optimizing
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2017-01-26 10:13:11 +0000
committer Nicolas Geoffray <ngeoffray@google.com> 2017-01-26 10:31:23 +0000
commit8c7c4f16aed712907da55ce8bb59e7c8e23be37d (patch)
tree437d20423b68185f99065c6da29740dd913a3abb /compiler/optimizing
parent1ddaa2573e8ea7c69dd2015d6cfbd2021989c816 (diff)
Update vixl/arm32 backend after new allocation entrypoint change.
Fix after https://android-review.googlesource.com/#/c/325419/ Spotted by artem.serov@linaro.org. Thanks! test: test-art-target with vixl/arm32 Change-Id: I5fdb4836c80f98696b07a06f52919f33a6284fbc
Diffstat (limited to 'compiler/optimizing')
-rw-r--r--compiler/optimizing/code_generator_arm_vixl.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/optimizing/code_generator_arm_vixl.cc b/compiler/optimizing/code_generator_arm_vixl.cc
index ffaf18fb4d..893e465392 100644
--- a/compiler/optimizing/code_generator_arm_vixl.cc
+++ b/compiler/optimizing/code_generator_arm_vixl.cc
@@ -3998,8 +3998,8 @@ void LocationsBuilderARMVIXL::VisitNewArray(HNewArray* instruction) {
new (GetGraph()->GetArena()) LocationSummary(instruction, LocationSummary::kCallOnMainOnly);
InvokeRuntimeCallingConventionARMVIXL calling_convention;
locations->SetOut(LocationFrom(r0));
- locations->SetInAt(0, LocationFrom(calling_convention.GetRegisterAt(1)));
- locations->SetInAt(1, LocationFrom(calling_convention.GetRegisterAt(2)));
+ locations->SetInAt(0, LocationFrom(calling_convention.GetRegisterAt(0)));
+ locations->SetInAt(1, LocationFrom(calling_convention.GetRegisterAt(1)));
}
void InstructionCodeGeneratorARMVIXL::VisitNewArray(HNewArray* instruction) {