Chromium Code Reviews| Index: src/isolate.cc |
| diff --git a/src/isolate.cc b/src/isolate.cc |
| index 9ecc7ef07364d545d57d396d94d96f7c10ec513b..6b3f706f80cb1becd9adaa330da0afc497d22133 100644 |
| --- a/src/isolate.cc |
| +++ b/src/isolate.cc |
| @@ -305,6 +305,7 @@ void Isolate::Iterate(ObjectVisitor* v, ThreadLocalTop* thread) { |
| void Isolate::Iterate(ObjectVisitor* v) { |
| ThreadLocalTop* current_t = thread_local_top(); |
| Iterate(v, current_t); |
| + materialized_object_store_->Iterate(v); |
|
Michael Starzinger
2014/01/14 09:50:18
Can we move the pointer to the fixed array into th
Jarin
2014/01/27 15:40:58
Done.
|
| } |
| @@ -1529,6 +1530,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), |
| @@ -1773,6 +1775,9 @@ Isolate::~Isolate() { |
| delete stats_table_; |
| stats_table_ = NULL; |
| + delete materialized_object_store_; |
| + materialized_object_store_ = NULL; |
| + |
| delete logger_; |
| logger_ = NULL; |
| @@ -1943,6 +1948,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(); |