Index: src/log.h |
diff --git a/src/log.h b/src/log.h |
index d4dc76a21cc5222139e209646505caf90534d16a..1e3f1e856734754158a0e3451586be77774ebd5e 100644 |
--- a/src/log.h |
+++ b/src/log.h |
@@ -99,7 +99,6 @@ struct TickSample; |
logger->Call; \ |
} while (false) |
- |
#define LOG_EVENTS_AND_TAGS_LIST(V) \ |
V(CODE_CREATION_EVENT, "code-creation") \ |
V(CODE_MOVE_EVENT, "code-move") \ |
@@ -320,11 +319,11 @@ class Logger { |
public: |
TimerEventScope(Isolate* isolate, const char* name) |
: isolate_(isolate), name_(name) { |
- if (FLAG_log_internal_timer_events) LogTimerEvent(START); |
+ LogTimerEvent(START); |
} |
~TimerEventScope() { |
- if (FLAG_log_internal_timer_events) LogTimerEvent(END); |
+ LogTimerEvent(END); |
} |
void LogTimerEvent(StartEnd se); |