| Index: runtime/vm/object_store.h
|
| diff --git a/runtime/vm/object_store.h b/runtime/vm/object_store.h
|
| index 92be955561599b0c55c3689fe4305c23b3f32d5f..7d139690a1c23a7583e90c19bdb63f3230e33e6c 100644
|
| --- a/runtime/vm/object_store.h
|
| +++ b/runtime/vm/object_store.h
|
| @@ -365,6 +365,12 @@ class ObjectStore {
|
| return error_listeners_;
|
| }
|
|
|
| + // This sticky_error is used to preserve Thread::sticky_error_ after the
|
| + // thread has been unscheduled.
|
| + RawError* sticky_error() const { return sticky_error_; }
|
| + void SetStickyErrorFromThread(const Thread* value);
|
| + void clear_sticky_error() { sticky_error_ = Error::null(); }
|
| +
|
| RawContext* empty_context() const { return empty_context_; }
|
| void set_empty_context(const Context& value) {
|
| empty_context_ = value.raw();
|
| @@ -554,6 +560,7 @@ class ObjectStore {
|
| RawGrowableObjectArray* resume_capabilities_;
|
| RawGrowableObjectArray* exit_listeners_;
|
| RawGrowableObjectArray* error_listeners_;
|
| + RawError* sticky_error_;
|
| RawContext* empty_context_;
|
| RawInstance* stack_overflow_;
|
| RawInstance* out_of_memory_;
|
|
|