Index: runtime/vm/isolate.h |
diff --git a/runtime/vm/isolate.h b/runtime/vm/isolate.h |
index 43031c4c19a56153c695e5dfe05a1778ab2db468..d949c5d96d206ce08aa9c3d28049bbed63396cea 100644 |
--- a/runtime/vm/isolate.h |
+++ b/runtime/vm/isolate.h |
@@ -633,13 +633,8 @@ class Isolate : public BaseIsolate { |
void PrintJSON(JSONStream* stream, bool ref = true); |
- void set_thread_state(InterruptableThreadState* state) { |
- ASSERT((thread_state_ == NULL) || (state == NULL)); |
- thread_state_ = state; |
- } |
- |
InterruptableThreadState* thread_state() const { |
- return thread_state_; |
+ return (mutator_thread_ == NULL) ? NULL : mutator_thread_->thread_state(); |
} |
CompilerStats* compiler_stats() { |
@@ -851,7 +846,6 @@ class Isolate : public BaseIsolate { |
IsolateProfilerData* profiler_data_; |
Mutex profiler_data_mutex_; |
- InterruptableThreadState* thread_state_; |
VMTagCounters vm_tag_counters_; |
uword user_tag_; |