Index: src/compiler.cc |
diff --git a/src/compiler.cc b/src/compiler.cc |
index bcae3b90b4db5fe2c8879c3f64d99c820e0e3ea8..07ed3dfd4fe006fd82a7018c6514a0fcf9d10248 100644 |
--- a/src/compiler.cc |
+++ b/src/compiler.cc |
@@ -940,6 +940,7 @@ MaybeHandle<Code> Compiler::GetLazyCode(Handle<JSFunction> function) { |
Isolate* isolate = function->GetIsolate(); |
DCHECK(!isolate->has_pending_exception()); |
DCHECK(!function->is_compiled()); |
+ AggregatedHistogramTimerScope timer(isolate->counters()->compile_lazy()); |
// If the debugger is active, do not compile with turbofan unless we can |
// deopt from turbofan code. |
if (FLAG_turbo_asm && function->shared()->asm_function() && |