| Index: src/isolate.cc
|
| diff --git a/src/isolate.cc b/src/isolate.cc
|
| index 25bc54685f4435d384acce81177734073374172e..4ae279b1e4b23ecf829ecfc425c0c9598055441e 100644
|
| --- a/src/isolate.cc
|
| +++ b/src/isolate.cc
|
| @@ -1688,7 +1688,6 @@ void Isolate::Deinit() {
|
| bootstrapper_->TearDown();
|
|
|
| if (runtime_profiler_ != NULL) {
|
| - runtime_profiler_->TearDown();
|
| delete runtime_profiler_;
|
| runtime_profiler_ = NULL;
|
| }
|
| @@ -2049,7 +2048,6 @@ bool Isolate::Init(Deserializer* des) {
|
| if (!create_heap_objects) Assembler::QuietNaN(heap_.nan_value());
|
|
|
| runtime_profiler_ = new RuntimeProfiler(this);
|
| - runtime_profiler_->SetUp();
|
|
|
| // If we are deserializing, log non-function code objects and compiled
|
| // functions found in the snapshot.
|
|
|