Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(407)

Unified Diff: runtime/vm/isolate.h

Issue 1261923008: Begin migration of InterruptableThreadState into Thread. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Parentheses. Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | runtime/vm/isolate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « no previous file | runtime/vm/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698