diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2011-07-15 17:47:20 -0700 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2011-07-15 17:47:20 -0700 |
commit | ef1be160d66b7da8bc2da857b1c33c6f680d86f1 (patch) | |
tree | a1ff31aa2841ebde94d9bff4b0f6692840ea811b /deps/v8/src/cpu-profiler.cc | |
parent | e5564a3f29e0a818832a97c7c3b28d7c8b3b0460 (diff) | |
download | node-ef1be160d66b7da8bc2da857b1c33c6f680d86f1.tar.gz |
Upgrade V8 to 3.4.12.1
Diffstat (limited to 'deps/v8/src/cpu-profiler.cc')
-rw-r--r-- | deps/v8/src/cpu-profiler.cc | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/deps/v8/src/cpu-profiler.cc b/deps/v8/src/cpu-profiler.cc index 8b10e8188..bb480fc34 100644 --- a/deps/v8/src/cpu-profiler.cc +++ b/deps/v8/src/cpu-profiler.cc @@ -29,8 +29,6 @@ #include "cpu-profiler-inl.h" -#ifdef ENABLE_LOGGING_AND_PROFILING - #include "frames-inl.h" #include "hashmap.h" #include "log-inl.h" @@ -574,31 +572,21 @@ void CpuProfiler::StopProcessor() { logger->logging_nesting_ = saved_logging_nesting_; } -} } // namespace v8::internal - -#endif // ENABLE_LOGGING_AND_PROFILING - -namespace v8 { -namespace internal { void CpuProfiler::Setup() { -#ifdef ENABLE_LOGGING_AND_PROFILING Isolate* isolate = Isolate::Current(); if (isolate->cpu_profiler() == NULL) { isolate->set_cpu_profiler(new CpuProfiler()); } -#endif } void CpuProfiler::TearDown() { -#ifdef ENABLE_LOGGING_AND_PROFILING Isolate* isolate = Isolate::Current(); if (isolate->cpu_profiler() != NULL) { delete isolate->cpu_profiler(); } isolate->set_cpu_profiler(NULL); -#endif } } } // namespace v8::internal |