summaryrefslogtreecommitdiff
path: root/compiler/dex/frontend.cc
diff options
context:
space:
mode:
author Matteo Franchin <matteo.franchin@arm.com> 2014-07-07 13:35:14 +0100
committer Matteo Franchin <matteo.franchin@arm.com> 2014-07-07 15:38:51 +0100
commitf101319480b1fe6575891043d0c3f0599292c25c (patch)
tree96fef45ce75530af9deab45f953e95c5f53e7ec5 /compiler/dex/frontend.cc
parentf22af67db2a6e7221dd15320d1a7688f1b423668 (diff)
Aarch64: fix bug and enable register promotion.
Iteration over arguments in invoke implementation was not correct for wide arguments. Change-Id: I46c7edcbfc9e32ded0e9a535fab3d333905bcf41
Diffstat (limited to 'compiler/dex/frontend.cc')
-rw-r--r--compiler/dex/frontend.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/dex/frontend.cc b/compiler/dex/frontend.cc
index 8021fa43fa..dc6043dd65 100644
--- a/compiler/dex/frontend.cc
+++ b/compiler/dex/frontend.cc
@@ -869,7 +869,8 @@ static CompiledMethod* CompileMethod(CompilerDriver& driver,
} else if (cu.instruction_set == kArm64) {
// TODO(Arm64): enable optimizations once backend is mature enough.
cu.disable_opt = ~((1 << kSuppressMethodInlining) |
- (1 << kNullCheckElimination));
+ (1 << kNullCheckElimination) |
+ (1 << kPromoteRegs));
}
cu.StartTimingSplit("BuildMIRGraph");