Index: src/full-codegen/full-codegen.cc |
diff --git a/src/full-codegen/full-codegen.cc b/src/full-codegen/full-codegen.cc |
index e89b9d79e76f8ba9faa320b9e156c615bf453a85..88d23e2cfa6e45c3a63fbfa031f26566c2302cfa 100644 |
--- a/src/full-codegen/full-codegen.cc |
+++ b/src/full-codegen/full-codegen.cc |
@@ -33,7 +33,8 @@ bool FullCodeGenerator::MakeCode(CompilationInfo* info) { |
RuntimeCallTimerScope runtimeTimer(isolate, |
&RuntimeCallStats::CompileFullCode); |
TimerEventScope<TimerEventCompileFullCode> timer(info->isolate()); |
- TRACE_EVENT0(TRACE_DISABLED_BY_DEFAULT("v8.compile"), "V8.CompileFullCode"); |
+ TRACE_EVENT_RUNTIME_CALL_STATS_TRACING_SCOPED( |
+ isolate, &tracing::TraceEventStatsTable::CompileFullCode); |
Handle<Script> script = info->script(); |
if (!script->IsUndefined(isolate) && |