diff options
Diffstat (limited to 'deps/v8/src/v8.cc')
-rw-r--r-- | deps/v8/src/v8.cc | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/deps/v8/src/v8.cc b/deps/v8/src/v8.cc index 2910a0700..1157c9d38 100644 --- a/deps/v8/src/v8.cc +++ b/deps/v8/src/v8.cc @@ -27,13 +27,11 @@ #include "v8.h" -#include "assembler.h" #include "isolate.h" #include "elements.h" #include "bootstrapper.h" #include "debug.h" #include "deoptimizer.h" -#include "frames.h" #include "heap-profiler.h" #include "hydrogen.h" #include "lithium-allocator.h" @@ -105,21 +103,13 @@ void V8::TearDown() { ASSERT(isolate->IsDefaultIsolate()); if (!has_been_set_up_ || has_been_disposed_) return; - - ElementsAccessor::TearDown(); - LOperand::TearDownCaches(); - RegisteredExtension::UnregisterAll(); - isolate->TearDown(); - delete isolate; is_running_ = false; has_been_disposed_ = true; delete call_completed_callbacks_; call_completed_callbacks_ = NULL; - - OS::TearDown(); } @@ -250,6 +240,7 @@ Object* V8::FillHeapNumberWithRandom(Object* heap_number, } void V8::InitializeOncePerProcessImpl() { + // Set up the platform OS support. OS::SetUp(); use_crankshaft_ = FLAG_crankshaft; @@ -265,7 +256,7 @@ void V8::InitializeOncePerProcessImpl() { OS::PostSetUp(); - RuntimeProfiler::GlobalSetUp(); + RuntimeProfiler::GlobalSetup(); ElementsAccessor::InitializeOncePerProcess(); @@ -276,9 +267,6 @@ void V8::InitializeOncePerProcessImpl() { } LOperand::SetUpCaches(); - SetUpJSCallerSavedCodeData(); - SamplerRegistry::SetUp(); - ExternalReference::SetUp(); } void V8::InitializeOncePerProcess() { |