Index: runtime/vm/dart_entry.cc |
=================================================================== |
--- runtime/vm/dart_entry.cc (revision 21380) |
+++ runtime/vm/dart_entry.cc (working copy) |
@@ -55,6 +55,8 @@ |
const Code& code = Code::Handle(function.CurrentCode()); |
ASSERT(!code.IsNull()); |
ASSERT(Isolate::Current()->no_callback_scope_depth() == 0); |
+ IsolateRunStateManager run_state_manager; |
+ run_state_manager.SetRunState(Isolate::kIsolateRunning); |
#if defined(USING_SIMULATOR) |
return bit_copy<RawObject*, int64_t>(Simulator::Current()->Call( |
reinterpret_cast<int32_t>(entrypoint), |