Index: src/isolate.cc |
diff --git a/src/isolate.cc b/src/isolate.cc |
index 9071c0229a940e49659e5f233175b9dbd471cf12..f1674b40e31c6513b5a2187eae34d04334593ca4 100644 |
--- a/src/isolate.cc |
+++ b/src/isolate.cc |
@@ -1807,7 +1807,7 @@ bool Isolate::Init(Deserializer* des) { |
has_fatal_error_ = false; |
use_crankshaft_ = FLAG_crankshaft |
- && !Serializer::enabled() |
+ && !Serializer::enabled(this) |
&& CpuFeatures::SupportsCrankshaft(); |
if (function_entry_hook() != NULL) { |
@@ -1999,7 +1999,7 @@ bool Isolate::Init(Deserializer* des) { |
kDeoptTableSerializeEntryCount - 1); |
} |
- if (!Serializer::enabled()) { |
+ if (!Serializer::enabled(this)) { |
// Ensure that all stubs which need to be generated ahead of time, but |
// cannot be serialized into the snapshot have been generated. |
HandleScope scope(this); |