| Index: runtime/vm/native_entry.cc
|
| diff --git a/runtime/vm/native_entry.cc b/runtime/vm/native_entry.cc
|
| index af4bd9691598e25d4374050456a29563ff1e552d..0c36a65f22fd42a505e356cc85d704132e09cfe4 100644
|
| --- a/runtime/vm/native_entry.cc
|
| +++ b/runtime/vm/native_entry.cc
|
| @@ -8,6 +8,8 @@
|
|
|
| #include "vm/dart_api_impl.h"
|
| #include "vm/dart_api_state.h"
|
| +#include "vm/tags.h"
|
| +
|
|
|
| namespace dart {
|
|
|
| @@ -51,6 +53,7 @@ void NativeEntry::NativeCallWrapper(Dart_NativeArguments args,
|
| VERIFY_ON_TRANSITION;
|
| NativeArguments* arguments = reinterpret_cast<NativeArguments*>(args);
|
| Isolate* isolate = arguments->isolate();
|
| + VMTagScope tagScope(isolate, VMTag::kRuntimeNativeTagId);
|
| ApiState* state = isolate->api_state();
|
| ASSERT(state != NULL);
|
| ApiLocalScope* current_top_scope = state->top_scope();
|
|
|