Index: src/counters-inl.h |
diff --git a/src/counters-inl.h b/src/counters-inl.h |
index 303e5e3a81de72aff55d2579b106399037cb7128..2001586ac6fbd8627bc8f2fcff8964c42e825d29 100644 |
--- a/src/counters-inl.h |
+++ b/src/counters-inl.h |
@@ -12,16 +12,14 @@ namespace internal { |
RuntimeCallTimerScope::RuntimeCallTimerScope( |
Isolate* isolate, RuntimeCallStats::CounterId counter_id) { |
- if (V8_UNLIKELY(TRACE_EVENT_RUNTIME_CALL_STATS_TRACING_ENABLED() || |
- FLAG_runtime_call_stats)) { |
+ if (V8_UNLIKELY(FLAG_runtime_stats)) { |
Initialize(isolate, counter_id); |
} |
} |
RuntimeCallTimerScope::RuntimeCallTimerScope( |
HeapObject* heap_object, RuntimeCallStats::CounterId counter_id) { |
- if (V8_UNLIKELY(TRACE_EVENT_RUNTIME_CALL_STATS_TRACING_ENABLED() || |
- FLAG_runtime_call_stats)) { |
+ if (V8_UNLIKELY(FLAG_runtime_stats)) { |
Initialize(heap_object->GetIsolate(), counter_id); |
} |
} |