Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index ffc956080bc6382541149a286d0e96bb3dbd94db..601faf9b47bf9c12b8a840a5d7e8c857839a5ef4 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -1480,6 +1480,7 @@ Local<Value> Script::Run() { |
ON_BAILOUT(isolate, "v8::Script::Run()", return Local<Value>()); |
LOG_API(isolate, "Script::Run"); |
ENTER_V8(isolate); |
+ i::AggregatingHistogramTimerScope timer(isolate->counters()->compile_lazy()); |
i::TimerEventScope<i::TimerEventExecute> timer_scope(isolate); |
i::HandleScope scope(isolate); |
i::Handle<i::JSFunction> fun = i::Handle<i::JSFunction>::cast(obj); |