Index: src/isolate.cc |
diff --git a/src/isolate.cc b/src/isolate.cc |
index d70e19e0ebcdfab65ceb688334da39f7255f901a..ed88994995fc8ae58a6d99bc61e1199728324004 100644 |
--- a/src/isolate.cc |
+++ b/src/isolate.cc |
@@ -2120,7 +2120,10 @@ bool Isolate::Init(Deserializer* des) { |
// Ensure that the stub failure trampoline has been generated. |
HandleScope scope(this); |
CodeStub::GenerateFPStubs(); |
- StubFailureTrampolineStub().GetCode(); |
+ int i = 0; |
+ for (; i <= StubFailureTrampolineStub::kMaxExtraExpressionStackCount; ++i) { |
+ StubFailureTrampolineStub(i).GetCode(); |
+ } |
} |
if (FLAG_parallel_recompilation) optimizing_compiler_thread_.Start(); |