Index: src/isolate.cc |
diff --git a/src/isolate.cc b/src/isolate.cc |
index e47ddfe0d11e64b8556c9cf1bbae6cecdefd2fc6..e473b020fd968c64d050ce9d808a4a4b5f5e75ec 100644 |
--- a/src/isolate.cc |
+++ b/src/isolate.cc |
@@ -1445,10 +1445,6 @@ Isolate::Isolate() |
debugger_ = NULL; |
#endif |
-#ifdef ENABLE_LOGGING_AND_PROFILING |
- producer_heap_profile_ = NULL; |
-#endif |
- |
handle_scope_data_.Initialize(); |
#define ISOLATE_INIT_EXECUTE(type, name, initial_value) \ |
@@ -1537,11 +1533,6 @@ void Isolate::SetIsolateThreadLocals(Isolate* isolate, |
Isolate::~Isolate() { |
TRACE_ISOLATE(destructor); |
-#ifdef ENABLE_LOGGING_AND_PROFILING |
- delete producer_heap_profile_; |
- producer_heap_profile_ = NULL; |
-#endif |
- |
delete unicode_cache_; |
unicode_cache_ = NULL; |
@@ -1657,11 +1648,6 @@ bool Isolate::PreInit() { |
regexp_stack_ = new RegExpStack(); |
regexp_stack_->isolate_ = this; |
-#ifdef ENABLE_LOGGING_AND_PROFILING |
- producer_heap_profile_ = new ProducerHeapProfile(); |
- producer_heap_profile_->isolate_ = this; |
-#endif |
- |
state_ = PREINITIALIZED; |
return true; |
} |