Index: src/runtime/runtime-internal.cc |
diff --git a/src/runtime/runtime-internal.cc b/src/runtime/runtime-internal.cc |
index a0ec3bd33217e524893df209a4530a77e3dcf5fe..0ca2e84d3dbc62d9a214e0085041e64c77a93792 100644 |
--- a/src/runtime/runtime-internal.cc |
+++ b/src/runtime/runtime-internal.cc |
@@ -482,10 +482,10 @@ RUNTIME_FUNCTION(Runtime_GetAndResetRuntimeCallStats) { |
HandleScope scope(isolate); |
DCHECK_EQ(0, args.length()); |
std::stringstream stats_stream; |
- isolate->runtime_state()->runtime_call_stats()->Print(stats_stream); |
+ isolate->counters()->runtime_call_stats()->Print(stats_stream); |
Handle<String> result = |
isolate->factory()->NewStringFromAsciiChecked(stats_stream.str().c_str()); |
- isolate->runtime_state()->runtime_call_stats()->Reset(); |
+ isolate->counters()->runtime_call_stats()->Reset(); |
return *result; |
} |