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

Unified Diff: runtime/vm/thread.h

Issue 2506503002: Revert "Revert "JumpToFrame refactor"" + Fix (Closed)
Patch Set: new client Created 4 years, 1 month 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/stub_code_x64.cc ('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 95d04b2acbbb3ec634661fde07d9d4e898b5c6fc..a9fb55faaa400ba83db8891442d38e261236a283 100644
--- a/runtime/vm/thread.h
+++ b/runtime/vm/thread.h
@@ -471,6 +471,22 @@ class Thread : public BaseThread {
RawGrowableObjectArray* pending_functions();
void clear_pending_functions();
+ RawObject* active_exception() const { return active_exception_; }
+ void set_active_exception(const Object& value);
+ static intptr_t active_exception_offset() {
+ return OFFSET_OF(Thread, active_exception_);
+ }
+
+ RawObject* active_stacktrace() const { return active_stacktrace_; }
+ void set_active_stacktrace(const Object& value);
+ static intptr_t active_stacktrace_offset() {
+ return OFFSET_OF(Thread, active_stacktrace_);
+ }
+
+ uword resume_pc() const { return resume_pc_; }
+ void set_resume_pc(uword value) { resume_pc_ = value; }
+ static uword resume_pc_offset() { return OFFSET_OF(Thread, resume_pc_); }
+
RawError* sticky_error() const;
void set_sticky_error(const Error& value);
void clear_sticky_error();
@@ -684,6 +700,11 @@ class Thread : public BaseThread {
intptr_t deopt_id_; // Compilation specific counter.
RawGrowableObjectArray* pending_functions_;
+ // JumpToExceptionHandler state:
+ RawObject* active_exception_;
+ RawObject* active_stacktrace_;
+ uword resume_pc_;
+
RawError* sticky_error_;
CompilerStats* compiler_stats_;
« no previous file with comments | « runtime/vm/stub_code_x64.cc ('k') | runtime/vm/thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698