Index: src/full-codegen/full-codegen.cc |
diff --git a/src/full-codegen/full-codegen.cc b/src/full-codegen/full-codegen.cc |
index a3652e534a31a77733817b70b3f4285b89691d40..a227137b4a3bb1e7c1021c71b8d5faaa8b32983c 100644 |
--- a/src/full-codegen/full-codegen.cc |
+++ b/src/full-codegen/full-codegen.cc |
@@ -32,7 +32,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) && |