Index: src/isolate.cc |
diff --git a/src/isolate.cc b/src/isolate.cc |
index 54a72d3c2ccd454d2a512ea51e3d780f61fe1808..461c4290a33e6ac49f29eac406314ef82b7101b1 100644 |
--- a/src/isolate.cc |
+++ b/src/isolate.cc |
@@ -1473,6 +1473,7 @@ Isolate::Isolate() |
descriptor_lookup_cache_(NULL), |
handle_scope_implementer_(NULL), |
unicode_cache_(NULL), |
+ runtime_zone_(this), |
in_use_list_(0), |
free_list_(0), |
preallocated_storage_preallocated_(false), |
@@ -1493,7 +1494,6 @@ Isolate::Isolate() |
sizeof(isolate_addresses_[0]) * (kIsolateAddressCount + 1)); |
heap_.isolate_ = this; |
- zone_.isolate_ = this; |
stack_guard_.isolate_ = this; |
// ThreadManager is initialized early to support locking an isolate |
@@ -1609,7 +1609,7 @@ Isolate::~Isolate() { |
TRACE_ISOLATE(destructor); |
// Has to be called while counters_ are still alive. |
- zone_.DeleteKeptSegment(); |
+ runtime_zone_.DeleteKeptSegment(); |
delete[] assembler_spare_buffer_; |
assembler_spare_buffer_ = NULL; |
@@ -1781,7 +1781,7 @@ bool Isolate::Init(Deserializer* des) { |
global_handles_ = new GlobalHandles(this); |
bootstrapper_ = new Bootstrapper(); |
handle_scope_implementer_ = new HandleScopeImplementer(this); |
- stub_cache_ = new StubCache(this, zone()); |
+ stub_cache_ = new StubCache(this, runtime_zone()); |
regexp_stack_ = new RegExpStack(); |
regexp_stack_->isolate_ = this; |
date_cache_ = new DateCache(); |