Index: runtime/vm/isolate.h |
diff --git a/runtime/vm/isolate.h b/runtime/vm/isolate.h |
index e40b3900876e47edc888d878c8ac940b5ac8bc19..c6a5bd9d565eecdc514a28b4c6ac9d421849a080 100644 |
--- a/runtime/vm/isolate.h |
+++ b/runtime/vm/isolate.h |
@@ -581,6 +581,9 @@ class Isolate : public BaseIsolate { |
void set_deoptimized_code_array(const GrowableObjectArray& value); |
void TrackDeoptimizedCode(const Code& code); |
+ RawError* sticky_error() const { return sticky_error_; } |
+ void clear_sticky_error(); |
+ |
bool compilation_allowed() const { return compilation_allowed_; } |
void set_compilation_allowed(bool allowed) { |
compilation_allowed_ = allowed; |
@@ -808,6 +811,8 @@ class Isolate : public BaseIsolate { |
RawGrowableObjectArray* deoptimized_code_array_; |
+ RawError* sticky_error_; |
+ |
// Background compilation. |
BackgroundCompiler* background_compiler_; |