summaryrefslogtreecommitdiff
path: root/deps/v8/src/tracing/trace-event.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/tracing/trace-event.h')
-rw-r--r--deps/v8/src/tracing/trace-event.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/deps/v8/src/tracing/trace-event.h b/deps/v8/src/tracing/trace-event.h
index ed53d55a88..fbaa53e0f0 100644
--- a/deps/v8/src/tracing/trace-event.h
+++ b/deps/v8/src/tracing/trace-event.h
@@ -620,7 +620,7 @@ class CallStatsScopedTracer {
Data* p_data_;
Data data_;
};
-#endif // defined(V8_RUNTIME_CALL_STATS)
+#endif // V8_RUNTIME_CALL_STATS
} // namespace tracing
} // namespace internal
@@ -660,8 +660,9 @@ class CallStatsScopedTracer {
} PERFETTO_UID(scoped_event) { \
{ isolate, 0 } \
}
-
-#endif // defined(V8_RUNTIME_CALL_STATS)
+#else // V8_RUNTIME_CALL_STATS
+#define TRACE_EVENT_CALL_STATS_SCOPED(isolate, category, name)
+#endif // V8_RUNTIME_CALL_STATS
#endif // defined(V8_USE_PERFETTO)
#endif // V8_TRACING_TRACE_EVENT_H_