| Index: runtime/vm/isolate.cc
|
| diff --git a/runtime/vm/isolate.cc b/runtime/vm/isolate.cc
|
| index b96a0b89a11ac3ee4ea874474d82b59191e27400..b91c4c28f25dafe491c3085aba36c071cd48791e 100644
|
| --- a/runtime/vm/isolate.cc
|
| +++ b/runtime/vm/isolate.cc
|
| @@ -383,6 +383,7 @@ void Isolate::SetCurrent(Isolate* current) {
|
| #if defined(DEBUG)
|
| CheckForDuplicateThreadState(thread_state);
|
| #endif
|
| + ASSERT(thread_state != NULL);
|
| Profiler::BeginExecution(current);
|
| current->set_thread_state(thread_state);
|
| current->set_vm_tag(VMTag::kVMTagId);
|
|
|