Index: src/arguments.h |
diff --git a/src/arguments.h b/src/arguments.h |
index d5d2c02bf068d87a4851090fc2b8a27b09a5fc1e..92c7075ee526f58315640e1d404688bb6f2d7d91 100644 |
--- a/src/arguments.h |
+++ b/src/arguments.h |
@@ -96,7 +96,8 @@ |
Type Name(int args_length, Object** args_object, Isolate* isolate) { \ |
DCHECK(isolate->context() == nullptr || isolate->context()->IsContext()); \ |
CLOBBER_DOUBLE_REGISTERS(); \ |
- if (V8_UNLIKELY(FLAG_runtime_stats)) { \ |
+ if (V8_UNLIKELY(TRACE_EVENT_RUNTIME_CALL_STATS_TRACING_ENABLED() || \ |
+ FLAG_runtime_call_stats)) { \ |
return Stats_##Name(args_length, args_object, isolate); \ |
} \ |
Arguments args(args_length, args_object); \ |