Index: src/v8.cc |
diff --git a/src/v8.cc b/src/v8.cc |
index dd98e6155ddfdaf735a8b01520d9060aad9262bf..b000c053972c7ddee4a50dea9733c7f9d52710be 100644 |
--- a/src/v8.cc |
+++ b/src/v8.cc |
@@ -62,12 +62,6 @@ bool V8::Initialize(Deserializer* des) { |
CpuProfiler::Setup(); |
-#ifdef ENABLE_CPP_PROFILES_PROCESSOR |
- if (FLAG_prof && FLAG_prof_auto) { |
- CpuProfiler::StartProfiling("internal.auto"); |
- } |
-#endif |
- |
// Setup the platform OS support. |
OS::Setup(); |
@@ -143,12 +137,6 @@ void V8::SetFatalError() { |
void V8::TearDown() { |
if (!has_been_setup_ || has_been_disposed_) return; |
-#ifdef ENABLE_CPP_PROFILES_PROCESSOR |
- if (FLAG_prof && FLAG_prof_auto) { |
- CpuProfiler::StopProfiling("internal.auto"); |
- } |
-#endif |
- |
OProfileAgent::TearDown(); |
if (FLAG_preemption) { |