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

Unified Diff: runtime/vm/thread.h

Issue 1299653003: Migrate LongJumpScope to Thread. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Assert current isolate. 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/snapshot.cc ('k') | no next file » | 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 69cc4ecd17b2f70a429bd02bd899675a274b5496..bee3d9f35bc2a7bdbb9368bc1cb8a87acb9448bd 100644
--- a/runtime/vm/thread.h
+++ b/runtime/vm/thread.h
@@ -16,6 +16,7 @@ class HandleScope;
class Heap;
class InterruptableThreadState;
class Isolate;
+class LongJumpScope;
class Object;
class RawBool;
class RawObject;
@@ -201,6 +202,7 @@ class Thread {
TimelineEventBlock* timeline_block;
// TODO(koda): Migrate individual fields of InterruptableThreadState.
InterruptableThreadState* thread_state;
+ LongJumpScope* long_jump_base;
#if defined(DEBUG)
HandleScope* top_handle_scope;
intptr_t no_handle_scope_depth;
@@ -226,6 +228,11 @@ CACHED_CONSTANTS_LIST(DEFINE_OFFSET_METHOD)
state_.timeline_block = block;
}
+ LongJumpScope* long_jump_base() const { return state_.long_jump_base; }
+ void set_long_jump_base(LongJumpScope* value) {
+ state_.long_jump_base = value;
+ }
+
private:
static ThreadLocalKey thread_key_;
« no previous file with comments | « runtime/vm/snapshot.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698