Index: src/isolate.cc |
diff --git a/src/isolate.cc b/src/isolate.cc |
index 740cce00476a3ab66ea35fbf48e411f7bbc06da2..07bb2ae5300f192e65f973482a0684429f48501c 100644 |
--- a/src/isolate.cc |
+++ b/src/isolate.cc |
@@ -2238,6 +2238,8 @@ bool Isolate::Init(Deserializer* des) { |
bootstrapper_->Initialize(create_heap_objects); |
builtins_.SetUp(this, create_heap_objects); |
+ if (create_heap_objects) heap_.CreateStubsRequiringBuiltins(); |
+ |
// Only preallocate on the first initialization. |
if (FLAG_preallocate_message_memory && preallocated_message_space_ == NULL) { |
// Start the thread which will set aside some memory. |
@@ -2314,6 +2316,7 @@ bool Isolate::Init(Deserializer* des) { |
CodeStub::GenerateFPStubs(this); |
StoreBufferOverflowStub::GenerateFixedRegStubsAheadOfTime(this); |
StubFailureTrampolineStub::GenerateAheadOfTime(this); |
+ StubFailureTailCallTrampolineStub::GenerateAheadOfTime(this); |
// TODO(mstarzinger): The following is an ugly hack to make sure the |
// interface descriptor is initialized even when stubs have been |
// deserialized out of the snapshot without the graph builder. |