Index: src/isolate.cc |
diff --git a/src/isolate.cc b/src/isolate.cc |
index d09625c401a4a8ad0d27f5faae6cc54616c85b13..15d0bdd44193524f5a8f5127688daf4e3604e4b8 100644 |
--- a/src/isolate.cc |
+++ b/src/isolate.cc |
@@ -1635,7 +1635,6 @@ Isolate::Isolate() |
string_tracker_(NULL), |
regexp_stack_(NULL), |
date_cache_(NULL), |
- code_stub_interface_descriptors_(NULL), |
context_exit_happened_(false), |
deferred_handles_head_(NULL), |
optimizing_compiler_thread_(this) { |
@@ -1798,9 +1797,6 @@ Isolate::~Isolate() { |
delete date_cache_; |
date_cache_ = NULL; |
- delete[] code_stub_interface_descriptors_; |
- code_stub_interface_descriptors_ = NULL; |
- |
delete regexp_stack_; |
regexp_stack_ = NULL; |
@@ -1964,10 +1960,6 @@ bool Isolate::Init(Deserializer* des) { |
regexp_stack_ = new RegExpStack(); |
regexp_stack_->isolate_ = this; |
date_cache_ = new DateCache(); |
- code_stub_interface_descriptors_ = |
- new CodeStubInterfaceDescriptor[CodeStub::NUMBER_OF_IDS]; |
- memset(code_stub_interface_descriptors_, 0, |
- kPointerSize * CodeStub::NUMBER_OF_IDS); |
// Enable logging before setting up the heap |
logger_->SetUp(); |
@@ -2028,8 +2020,6 @@ bool Isolate::Init(Deserializer* des) { |
debug_->SetUp(create_heap_objects); |
#endif |
- deoptimizer_data_ = new DeoptimizerData; |
- |
// If we are deserializing, read the state into the now-empty heap. |
if (!create_heap_objects) { |
des->Deserialize(); |
@@ -2048,6 +2038,7 @@ bool Isolate::Init(Deserializer* des) { |
// Quiet the heap NaN if needed on target platform. |
if (!create_heap_objects) Assembler::QuietNaN(heap_.nan_value()); |
+ deoptimizer_data_ = new DeoptimizerData; |
runtime_profiler_ = new RuntimeProfiler(this); |
runtime_profiler_->SetUp(); |
@@ -2069,17 +2060,6 @@ bool Isolate::Init(Deserializer* des) { |
state_ = INITIALIZED; |
time_millis_at_init_ = OS::TimeCurrentMillis(); |
- |
- if (!create_heap_objects) { |
- // Now that the heap is consistent, it's OK to generate the code for the |
- // deopt entry table that might have been referred to by optimized code in |
- // the snapshot. |
- HandleScope scope(this); |
- Deoptimizer::EnsureCodeForDeoptimizationEntry( |
- Deoptimizer::LAZY, |
- kDeoptTableSerializeEntryCount - 1); |
- } |
- |
if (FLAG_parallel_recompilation) optimizing_compiler_thread_.Start(); |
return true; |
} |
@@ -2194,12 +2174,6 @@ void Isolate::UnlinkDeferredHandles(DeferredHandles* deferred) { |
} |
-CodeStubInterfaceDescriptor* |
- Isolate::code_stub_interface_descriptor(int index) { |
- return code_stub_interface_descriptors_ + index; |
-} |
- |
- |
#ifdef DEBUG |
#define ISOLATE_FIELD_OFFSET(type, name, ignored) \ |
const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_); |