Chromium Code Reviews| Index: runtime/vm/isolate.h |
| diff --git a/runtime/vm/isolate.h b/runtime/vm/isolate.h |
| index 43031c4c19a56153c695e5dfe05a1778ab2db468..db743930735a3175aa53adbcb051953704a4e460 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(); |
|
Cutch
2015/08/04 13:02:28
(mutator_thread_ == NULL)
|
| } |
| 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_; |