Index: runtime/vm/thread.h |
diff --git a/runtime/vm/thread.h b/runtime/vm/thread.h |
index c5a0c8f3f148b2c56380f9833c48ffb5c77fbb8d..2d8531cb0c5afe22b777895f93c4829a2b076528 100644 |
--- a/runtime/vm/thread.h |
+++ b/runtime/vm/thread.h |
@@ -40,6 +40,7 @@ class PcDescriptors; |
class RawBool; |
class RawObject; |
class RawCode; |
+class RawError; |
class RawGrowableObjectArray; |
class RawString; |
class RuntimeEntry; |
@@ -365,6 +366,11 @@ LEAF_RUNTIME_ENTRY_LIST(DEFINE_OFFSET_METHOD) |
} |
RawGrowableObjectArray* pending_functions(); |
+ void clear_pending_functions(); |
+ |
+ RawError* sticky_error() const; |
+ void set_sticky_error(const Error& value); |
+ void clear_sticky_error(); |
#if defined(DEBUG) |
#define REUSABLE_HANDLE_SCOPE_ACCESSORS(object) \ |
@@ -548,6 +554,8 @@ LEAF_RUNTIME_ENTRY_LIST(DEFINE_OFFSET_METHOD) |
uword vm_tag_; |
RawGrowableObjectArray* pending_functions_; |
+ RawError* sticky_error_; |
+ |
// State that is cached in the TLS for fast access in generated code. |
#define DECLARE_MEMBERS(type_name, member_name, expr, default_init_value) \ |
type_name member_name; |