| Index: runtime/vm/thread.cc
|
| diff --git a/runtime/vm/thread.cc b/runtime/vm/thread.cc
|
| index dd9ba1174c9d22f41b351a17da0f18093dc79f67..3f0e3dcd48098eb66aeb9d67ce60131b9b8d9249 100644
|
| --- a/runtime/vm/thread.cc
|
| +++ b/runtime/vm/thread.cc
|
| @@ -200,7 +200,8 @@ void Thread::EnterIsolateAsHelper(Isolate* isolate) {
|
| thread->isolate()->store_buffer()->PopEmptyBlock();
|
| ASSERT(isolate->heap() != NULL);
|
| thread->heap_ = isolate->heap();
|
| - ASSERT(thread->thread_state() == NULL);
|
| + ASSERT(thread->thread_interrupt_callback_ == NULL);
|
| + ASSERT(thread->thread_interrupt_data_ == NULL);
|
| // Do not update isolate->mutator_thread, but perform sanity check:
|
| // this thread should not be both the main mutator and helper.
|
| ASSERT(!isolate->MutatorThreadIsCurrentThread());
|
| @@ -215,7 +216,6 @@ void Thread::ExitIsolateAsHelper() {
|
| thread->Unschedule();
|
| // TODO(koda): Move store_buffer_block_ into State.
|
| thread->StoreBufferRelease();
|
| - thread->set_thread_state(NULL);
|
| thread->isolate_ = NULL;
|
| thread->heap_ = NULL;
|
| ASSERT(!isolate->MutatorThreadIsCurrentThread());
|
|
|