Index: src/deoptimizer.cc |
diff --git a/src/deoptimizer.cc b/src/deoptimizer.cc |
index 7335fa54612e341ad05e59b81663caa39663a9c5..e5cf36344f1c8dcb0606c9f259f49e9728c1b8de 100644 |
--- a/src/deoptimizer.cc |
+++ b/src/deoptimizer.cc |
@@ -366,8 +366,7 @@ |
RuntimeCallTimerScope runtimeTimer(isolate, |
&RuntimeCallStats::DeoptimizeCode); |
TimerEventScope<TimerEventDeoptimizeCode> timer(isolate); |
- TRACE_EVENT_RUNTIME_CALL_STATS_TRACING_SCOPED( |
- isolate, &tracing::TraceEventStatsTable::DeoptimizeCode); |
+ TRACE_EVENT0("v8", "V8.DeoptimizeCode"); |
if (FLAG_trace_deopt) { |
CodeTracer::Scope scope(isolate->GetCodeTracer()); |
PrintF(scope.file(), "[deoptimize all code in all contexts]\n"); |
@@ -388,8 +387,7 @@ |
RuntimeCallTimerScope runtimeTimer(isolate, |
&RuntimeCallStats::DeoptimizeCode); |
TimerEventScope<TimerEventDeoptimizeCode> timer(isolate); |
- TRACE_EVENT_RUNTIME_CALL_STATS_TRACING_SCOPED( |
- isolate, &tracing::TraceEventStatsTable::DeoptimizeCode); |
+ TRACE_EVENT0("v8", "V8.DeoptimizeCode"); |
if (FLAG_trace_deopt) { |
CodeTracer::Scope scope(isolate->GetCodeTracer()); |
PrintF(scope.file(), "[deoptimize marked code in all contexts]\n"); |
@@ -422,8 +420,7 @@ |
RuntimeCallTimerScope runtimeTimer(isolate, |
&RuntimeCallStats::DeoptimizeCode); |
TimerEventScope<TimerEventDeoptimizeCode> timer(isolate); |
- TRACE_EVENT_RUNTIME_CALL_STATS_TRACING_SCOPED( |
- isolate, &tracing::TraceEventStatsTable::DeoptimizeCode); |
+ TRACE_EVENT0("v8", "V8.DeoptimizeCode"); |
Code* code = function->code(); |
if (code->kind() == Code::OPTIMIZED_FUNCTION) { |
// Mark the code for deoptimization and unlink any functions that also |