Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index 042f4775cf2087c832660f6e121ece3e2e531df1..4719da64da689143d1ef9721868e9815521d85c8 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -1681,6 +1681,8 @@ Local<Value> Script::Run() { |
ON_BAILOUT(isolate, "v8::Script::Run()", return Local<Value>()); |
LOG_API(isolate, "Script::Run"); |
ENTER_V8(isolate); |
+ i::Logger::TimerEventScope timer_scope( |
+ isolate->logger(), i::Logger::TimerEventScope::v8_execute); |
i::Object* raw_result = NULL; |
{ |
i::HandleScope scope(isolate); |