Index: runtime/vm/thread.h |
diff --git a/runtime/vm/thread.h b/runtime/vm/thread.h |
index 6aef77b43c304a811efa4d437ea35aa3d55001f7..d9f227b83f32b56057992677cc834648582aaeb8 100644 |
--- a/runtime/vm/thread.h |
+++ b/runtime/vm/thread.h |
@@ -506,6 +506,7 @@ class Thread : public BaseThread { |
RawError* sticky_error() const; |
void set_sticky_error(const Error& value); |
void clear_sticky_error(); |
+ RawError* get_and_clear_sticky_error(); |
RawStackTrace* async_stack_trace() const; |
void set_async_stack_trace(const StackTrace& stack_trace); |