diff options
Diffstat (limited to 'compiler/dex/frontend.cc')
| -rw-r--r-- | compiler/dex/frontend.cc | 3 |
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"); |