Index: src/log-inl.h |
diff --git a/src/log-inl.h b/src/log-inl.h |
index d47a24b96afae22190671099663fecb3607bae08..81d834b8df92911f5e00a0fa312d4f031a65effe 100644 |
--- a/src/log-inl.h |
+++ b/src/log-inl.h |
@@ -38,6 +38,9 @@ void Logger::CallEventLogger(Isolate* isolate, const char* name, StartEnd se, |
isolate->event_logger()(name, se); |
} |
} |
+ |
+ // We make 2 different macro calls instead of precalculating the category |
+ // name because the category enabled status is cached based on its line no. |
if (expose_to_api) { |
if (se == START) { |
TRACE_EVENT_BEGIN0("v8", name); |