Index: src/v8.cc |
diff --git a/src/v8.cc b/src/v8.cc |
index 0ff764934089610e0c9ece0faa48ce72e08e1eb4..945043da9bc23cd100dae7fefea8facbdf0181ad 100644 |
--- a/src/v8.cc |
+++ b/src/v8.cc |
@@ -54,7 +54,12 @@ bool V8::Initialize(Deserializer* des) { |
if (has_been_disposed_ || has_fatal_error_) return false; |
if (IsRunning()) return true; |
+#if defined(V8_TARGET_ARCH_ARM) && !defined(USE_ARM_EABI) |
+ use_crankshaft_ = false; |
+#else |
use_crankshaft_ = FLAG_crankshaft; |
+#endif |
+ |
// Peephole optimization might interfere with deoptimization. |
FLAG_peephole_optimization = !use_crankshaft_; |
is_running_ = true; |