Index: src/isolate.cc |
diff --git a/src/isolate.cc b/src/isolate.cc |
index c5479ebf086a5b048abefee0e6e7eab2eb59a3ec..3983c48858b1d5e4a87792dfd7fbe43719edf3f9 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), |
@@ -1777,6 +1778,9 @@ Isolate::~Isolate() { |
delete stats_table_; |
stats_table_ = NULL; |
+ delete materialized_object_store_; |
+ materialized_object_store_ = NULL; |
+ |
delete logger_; |
logger_ = NULL; |
@@ -1947,6 +1951,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(); |