Index: runtime/vm/thread.h |
diff --git a/runtime/vm/thread.h b/runtime/vm/thread.h |
index 576d57c19d1e637908acb34d5fd4a7c721f421cb..65bbdf042be0d38aa6a822c9eb94f65fe27a296a 100644 |
--- a/runtime/vm/thread.h |
+++ b/runtime/vm/thread.h |
@@ -52,6 +52,7 @@ class String; |
class TimelineStream; |
class TypeArguments; |
class TypeParameter; |
+class TypeRangeCache; |
class Zone; |
#define REUSABLE_HANDLE_LIST(V) \ |
@@ -304,6 +305,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_; } |
void IncrementNoCallbackScopeDepth() { |
@@ -698,6 +704,7 @@ class Thread : public BaseThread { |
// Compiler state: |
CHA* cha_; |
+ TypeRangeCache* type_range_cache_; |
intptr_t deopt_id_; // Compilation specific counter. |
RawGrowableObjectArray* pending_functions_; |