Index: src/isolate.cc |
diff --git a/src/isolate.cc b/src/isolate.cc |
index e110186af09b16800f070b8ec9d634cb29e036a9..c168d12d083784bae611c265f19695adba7c26d4 100644 |
--- a/src/isolate.cc |
+++ b/src/isolate.cc |
@@ -1529,6 +1529,7 @@ Isolate::Isolate() |
stats_table_(NULL), |
stub_cache_(NULL), |
deoptimizer_data_(NULL), |
+ materialized_object_store_(NULL), |
capture_stack_trace_for_uncaught_exceptions_(false), |
stack_trace_for_uncaught_exceptions_frame_limit_(0), |
stack_trace_for_uncaught_exceptions_options_(StackTrace::kOverview), |
@@ -1778,6 +1779,9 @@ Isolate::~Isolate() { |
delete stats_table_; |
stats_table_ = NULL; |
+ delete materialized_object_store_; |
+ materialized_object_store_ = NULL; |
+ |
delete logger_; |
logger_ = NULL; |
@@ -1948,6 +1952,7 @@ bool Isolate::Init(Deserializer* des) { |
bootstrapper_ = new Bootstrapper(this); |
handle_scope_implementer_ = new HandleScopeImplementer(this); |
stub_cache_ = new StubCache(this); |
+ materialized_object_store_ = new MaterializedObjectStore(this); |
regexp_stack_ = new RegExpStack(); |
regexp_stack_->isolate_ = this; |
date_cache_ = new DateCache(); |
@@ -2001,8 +2006,6 @@ bool Isolate::Init(Deserializer* des) { |
bootstrapper_->Initialize(create_heap_objects); |
builtins_.SetUp(this, create_heap_objects); |
- if (create_heap_objects) heap_.CreateStubsRequiringBuiltins(); |
- |
// Set default value if not yet set. |
// TODO(yangguo): move this to ResourceConstraints::ConfigureDefaults |
// once ResourceConstraints becomes an argument to the Isolate constructor. |
@@ -2097,7 +2100,6 @@ 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. |