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

Unified Diff: runtime/vm/thread.h

Issue 1308973003: - Really delete InterruptableThreadState. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Adjust more stuff. 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 | « runtime/vm/isolate.h ('k') | runtime/vm/thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/thread.h
diff --git a/runtime/vm/thread.h b/runtime/vm/thread.h
index ccf7435f75252605e9366357b5c2969b0c9e32ca..8f6497ae5415ea040b03276c03382a13d6a130c7 100644
--- a/runtime/vm/thread.h
+++ b/runtime/vm/thread.h
@@ -14,7 +14,6 @@ namespace dart {
class CHA;
class HandleScope;
class Heap;
-class InterruptableThreadState;
class Isolate;
class LongJumpScope;
class Object;
@@ -142,15 +141,6 @@ class Thread {
return OFFSET_OF(Thread, state_) + OFFSET_OF(State, top_resource);
}
- void set_thread_state(InterruptableThreadState* state) {
- ASSERT((thread_state() == NULL) || (state == NULL));
- state_.thread_state = state;
- }
-
- InterruptableThreadState* thread_state() const {
- return state_.thread_state;
- }
-
static intptr_t heap_offset() {
return OFFSET_OF(Thread, heap_);
}
@@ -220,8 +210,6 @@ class Thread {
uword top_exit_frame_info;
StackResource* top_resource;
TimelineEventBlock* timeline_block;
- // TODO(koda): Migrate individual fields of InterruptableThreadState.
- InterruptableThreadState* thread_state;
LongJumpScope* long_jump_base;
#if defined(DEBUG)
HandleScope* top_handle_scope;
« no previous file with comments | « runtime/vm/isolate.h ('k') | runtime/vm/thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698