Index: src/counters-inl.h |
diff --git a/src/counters-inl.h b/src/counters-inl.h |
index c8c06d295041ba83cde4925a312d8384b76e082a..44424d3ba458ec9abc0c61ccb8e598c8febecfe7 100644 |
--- a/src/counters-inl.h |
+++ b/src/counters-inl.h |
@@ -14,8 +14,10 @@ RuntimeCallTimerScope::RuntimeCallTimerScope( |
HeapObject* heap_object, RuntimeCallStats::CounterId counter_id) { |
if (V8_UNLIKELY(FLAG_runtime_call_stats)) { |
isolate_ = heap_object->GetIsolate(); |
- RuntimeCallStats::Enter(isolate_, &timer_, counter_id); |
+ RuntimeCallStats::Enter(isolate_->counters()->runtime_call_stats(), &timer_, |
+ counter_id); |
} |
+ // TODO(lpy): Add a tracing equivalent for the runtime call stats. |
} |
} // namespace internal |