Index: src/log.h |
diff --git a/src/log.h b/src/log.h |
index 6ffd18c61bedea97133e73c6067c1df2ecec507d..f243fc53c83def8bbd01163094f790bf3ef34258 100644 |
--- a/src/log.h |
+++ b/src/log.h |
@@ -78,7 +78,6 @@ class SlidingStateWindow; |
class Ticker; |
#undef LOG |
-#ifdef ENABLE_LOGGING_AND_PROFILING |
#define LOG(isolate, Call) \ |
do { \ |
v8::internal::Logger* logger = \ |
@@ -86,9 +85,6 @@ class Ticker; |
if (logger->is_logging()) \ |
logger->Call; \ |
} while (false) |
-#else |
-#define LOG(isolate, Call) ((void) 0) |
-#endif |
#define LOG_EVENTS_AND_TAGS_LIST(V) \ |
V(CODE_CREATION_EVENT, "code-creation") \ |
@@ -272,7 +268,6 @@ class Logger { |
// Log an event reported from generated code |
void LogRuntime(Vector<const char> format, JSArray* args); |
-#ifdef ENABLE_LOGGING_AND_PROFILING |
bool is_logging() { |
return logging_nesting_ > 0; |
} |
@@ -424,9 +419,6 @@ class Logger { |
Address prev_code_; |
friend class CpuProfiler; |
-#else |
- bool is_logging() { return false; } |
-#endif |
}; |