Index: src/isolate.cc |
diff --git a/src/isolate.cc b/src/isolate.cc |
index 2774cc9210a407d500a399f67ecd394eb4c3915f..1beaccd0e976ccd1a0769d6690decebe4a7bc348 100644 |
--- a/src/isolate.cc |
+++ b/src/isolate.cc |
@@ -2093,8 +2093,11 @@ bool Isolate::Init(Deserializer* des) { |
Deoptimizer::EnsureCodeForDeoptimizationEntry( |
Deoptimizer::LAZY, |
kDeoptTableSerializeEntryCount - 1); |
+ } |
+ if (!Serializer::enabled()) { |
// Ensure that the stub failure trampoline has been generated. |
+ HandleScope scope(this); |
StubFailureTrampolineStub().GetCode(); |
} |