Merge "x86_64: Disable optimizations on x86_64"
diff --git a/compiler/dex/frontend.cc b/compiler/dex/frontend.cc
index 63e3831..9bad736 100644
--- a/compiler/dex/frontend.cc
+++ b/compiler/dex/frontend.cc
@@ -879,8 +879,9 @@
(1 << kPromoteCompilerTemps));
}
- if (cu.instruction_set == kArm64) {
+ if (cu.instruction_set == kArm64 || cu.instruction_set == kX86_64) {
// TODO(Arm64): enable optimizations once backend is mature enough.
+ // TODO(X86_64): enable optimizations once backend is mature enough.
cu.disable_opt = ~(uint32_t)0;
cu.enable_debug |= (1 << kDebugCodegenDump);
}