summaryrefslogtreecommitdiff
path: root/deps/v8/src/cpu-profiler.h
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2010-04-23 12:05:36 -0700
committerRyan Dahl <ry@tinyclouds.org>2010-04-23 12:05:36 -0700
commite72b7b8002c487d32f3a651687acca13f2009b99 (patch)
tree81a6aacbf385709a83cd095c04ec7ba44bb754bc /deps/v8/src/cpu-profiler.h
parent7a34afba773a09c7862759872905657ec9629351 (diff)
downloadnode-new-e72b7b8002c487d32f3a651687acca13f2009b99.tar.gz
Upgrade V8 to 2.2.4.2
Diffstat (limited to 'deps/v8/src/cpu-profiler.h')
-rw-r--r--deps/v8/src/cpu-profiler.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/deps/v8/src/cpu-profiler.h b/deps/v8/src/cpu-profiler.h
index 594e44ec68..35d8d5e060 100644
--- a/deps/v8/src/cpu-profiler.h
+++ b/deps/v8/src/cpu-profiler.h
@@ -28,7 +28,7 @@
#ifndef V8_CPU_PROFILER_H_
#define V8_CPU_PROFILER_H_
-#ifdef ENABLE_CPP_PROFILES_PROCESSOR
+#ifdef ENABLE_LOGGING_AND_PROFILING
#include "circular-queue.h"
@@ -197,7 +197,7 @@ class ProfilerEventsProcessor : public Thread {
} while (false)
#else
#define PROFILE(Call) LOG(Call)
-#endif // ENABLE_CPP_PROFILES_PROCESSOR
+#endif // ENABLE_LOGGING_AND_PROFILING
namespace v8 {
@@ -208,7 +208,7 @@ class CpuProfiler {
static void Setup();
static void TearDown();
-#ifdef ENABLE_CPP_PROFILES_PROCESSOR
+#ifdef ENABLE_LOGGING_AND_PROFILING
static void StartProfiling(const char* title);
static void StartProfiling(String* title);
static CpuProfile* StopProfiling(const char* title);
@@ -265,7 +265,7 @@ class CpuProfiler {
#else
static INLINE(bool is_profiling()) { return false; }
-#endif // ENABLE_CPP_PROFILES_PROCESSOR
+#endif // ENABLE_LOGGING_AND_PROFILING
private:
DISALLOW_COPY_AND_ASSIGN(CpuProfiler);