Index: runtime/vm/thread.h |
diff --git a/runtime/vm/thread.h b/runtime/vm/thread.h |
index 83bf04b0e60352a15bd6876792e4bb61998552d4..149a8e10e5a753b793aee622a188074350d7ad8e 100644 |
--- a/runtime/vm/thread.h |
+++ b/runtime/vm/thread.h |
@@ -51,6 +51,7 @@ class String; |
class TimelineStream; |
class TypeArguments; |
class TypeParameter; |
+class TypeRangeCache; |
class Zone; |
#define REUSABLE_HANDLE_LIST(V) \ |
@@ -300,6 +301,11 @@ class Thread : public BaseThread { |
cha_ = value; |
} |
+ TypeRangeCache* type_range_cache() const { return type_range_cache_; } |
+ void set_type_range_cache(TypeRangeCache* value) { |
+ type_range_cache_ = value; |
+ } |
+ |
int32_t no_callback_scope_depth() const { |
return no_callback_scope_depth_; |
} |
@@ -692,6 +698,7 @@ LEAF_RUNTIME_ENTRY_LIST(DECLARE_MEMBERS) |
// Compiler state: |
CHA* cha_; |
+ TypeRangeCache* type_range_cache_; |
intptr_t deopt_id_; // Compilation specific counter. |
RawGrowableObjectArray* pending_functions_; |