Index: runtime/vm/dart_api_impl.cc |
diff --git a/runtime/vm/dart_api_impl.cc b/runtime/vm/dart_api_impl.cc |
index 7ea19a59d0fa1b8d8f65ba1984c9849794da8a42..1db0e45c40f6d30d3f46dc264ef7e1a8fc334d7c 100644 |
--- a/runtime/vm/dart_api_impl.cc |
+++ b/runtime/vm/dart_api_impl.cc |
@@ -3270,6 +3270,7 @@ DART_EXPORT Dart_Handle Dart_Invoke(Dart_Handle target, |
// TODO(turnidge): This is a bit simplistic. It overcounts when |
// other operations (gc, compilation) are active. |
TIMERSCOPE(isolate, time_dart_execution); |
+ VMTagScope tagScope(isolate, VMTag::kScriptTagId); |
const String& function_name = Api::UnwrapStringHandle(isolate, name); |
if (function_name.IsNull()) { |