Index: runtime/vm/runtime_entry.h |
diff --git a/runtime/vm/runtime_entry.h b/runtime/vm/runtime_entry.h |
index fe8d2898bd033507acf9d505109cd259dde5bc8f..d3f8428a39f29bd2b2ddb32568933f82841f22cf 100644 |
--- a/runtime/vm/runtime_entry.h |
+++ b/runtime/vm/runtime_entry.h |
@@ -9,6 +9,7 @@ |
#include "vm/flags.h" |
#include "vm/native_arguments.h" |
#include "vm/runtime_entry_list.h" |
+#include "vm/safepoint.h" |
#include "vm/tags.h" |
namespace dart { |
@@ -95,6 +96,7 @@ class RuntimeEntry : public ValueObject { |
Thread* thread = arguments.thread(); \ |
ASSERT(thread == Thread::Current()); \ |
Isolate* isolate = thread->isolate(); \ |
+ TransitionGeneratedToVM transition(thread); \ |
StackZone zone(thread); \ |
HANDLESCOPE(thread); \ |
DRT_Helper##name(isolate, thread, zone.GetZone(), arguments); \ |