Index: runtime/vm/dart_api_impl.cc |
diff --git a/runtime/vm/dart_api_impl.cc b/runtime/vm/dart_api_impl.cc |
index a25a46e4a4041408f0063748bb2b1607349488e2..37ce0c419d3dfdacce66a8e9912a53623dd8be9e 100644 |
--- a/runtime/vm/dart_api_impl.cc |
+++ b/runtime/vm/dart_api_impl.cc |
@@ -3332,6 +3332,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(time_dart_execution); |
+ VMTagScope tagScope(VMTag::kScriptTagId, isolate); |
srdjan
2014/03/13 20:24:46
Move isolate to first argument. See also Issue 19
Cutch
2014/03/13 21:10:05
Done.
|
const String& function_name = Api::UnwrapStringHandle(isolate, name); |
if (function_name.IsNull()) { |