Index: src/runtime/runtime-compiler.cc |
diff --git a/src/runtime/runtime-compiler.cc b/src/runtime/runtime-compiler.cc |
index a8c0b5f5e251c37334026d975108e0663569893a..906a6679229e5634c4c576ce316391f469de5e5e 100644 |
--- a/src/runtime/runtime-compiler.cc |
+++ b/src/runtime/runtime-compiler.cc |
@@ -136,6 +136,7 @@ RUNTIME_FUNCTION(Runtime_NotifyDeoptimized) { |
static_cast<Deoptimizer::BailoutType>(type_arg); |
Deoptimizer* deoptimizer = Deoptimizer::Grab(isolate); |
DCHECK(AllowHeapAllocation::IsAllowed()); |
+ TimerEventScope<TimerEventDeoptimizeCode> timer(isolate); |
Handle<JSFunction> function = deoptimizer->function(); |
Handle<Code> optimized_code = deoptimizer->compiled_code(); |