Index: src/deoptimizer.cc |
diff --git a/src/deoptimizer.cc b/src/deoptimizer.cc |
index e0d443d84c2da51125b57fe64f694b2e04dd0da6..93f5f97a1e03f5a3c86f22378929ea86c98983e4 100644 |
--- a/src/deoptimizer.cc |
+++ b/src/deoptimizer.cc |
@@ -361,6 +361,7 @@ void Deoptimizer::DeoptimizeAll(Isolate* isolate) { |
RuntimeCallTimerScope runtimeTimer(isolate, |
&RuntimeCallStats::DeoptimizeCode); |
TimerEventScope<TimerEventDeoptimizeCode> timer(isolate); |
+ TRACE_EVENT0("v8", "V8.DeoptimizeCode"); |
TRACE_EVENT_RUNTIME_CALL_STATS_TRACING_SCOPED( |
isolate, &tracing::TraceEventStatsTable::DeoptimizeCode); |
if (FLAG_trace_deopt) { |
@@ -383,6 +384,7 @@ void Deoptimizer::DeoptimizeMarkedCode(Isolate* isolate) { |
RuntimeCallTimerScope runtimeTimer(isolate, |
&RuntimeCallStats::DeoptimizeCode); |
TimerEventScope<TimerEventDeoptimizeCode> timer(isolate); |
+ TRACE_EVENT0("v8", "V8.DeoptimizeCode"); |
TRACE_EVENT_RUNTIME_CALL_STATS_TRACING_SCOPED( |
isolate, &tracing::TraceEventStatsTable::DeoptimizeCode); |
if (FLAG_trace_deopt) { |
@@ -417,6 +419,7 @@ void Deoptimizer::DeoptimizeFunction(JSFunction* function) { |
RuntimeCallTimerScope runtimeTimer(isolate, |
&RuntimeCallStats::DeoptimizeCode); |
TimerEventScope<TimerEventDeoptimizeCode> timer(isolate); |
+ TRACE_EVENT0("v8", "V8.DeoptimizeCode"); |
TRACE_EVENT_RUNTIME_CALL_STATS_TRACING_SCOPED( |
isolate, &tracing::TraceEventStatsTable::DeoptimizeCode); |
Code* code = function->code(); |