Index: src/isolate.cc |
diff --git a/src/isolate.cc b/src/isolate.cc |
index c7b1453d6bdfd97a57d4e28349eadbc527803187..0e9e5b120f1761ddc6416f4d669b8967fdee1837 100644 |
--- a/src/isolate.cc |
+++ b/src/isolate.cc |
@@ -2902,8 +2902,7 @@ Map* Isolate::get_initial_js_array_map(ElementsKind kind) { |
bool Isolate::use_crankshaft() const { |
- return FLAG_crankshaft && |
- !serializer_enabled_ && |
+ return FLAG_opt && FLAG_crankshaft && !serializer_enabled_ && |
CpuFeatures::SupportsCrankshaft(); |
} |