Index: src/isolate.cc |
diff --git a/src/isolate.cc b/src/isolate.cc |
index 6eb29606d4a3cb4447db98125d239d8f8c8a3b50..24976be27855343059ce01488d2ed9989fc6ec74 100644 |
--- a/src/isolate.cc |
+++ b/src/isolate.cc |
@@ -2256,6 +2256,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. |
@@ -2332,6 +2334,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. |