Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1165)

Unified Diff: runtime/vm/thread.h

Issue 2314133003: AOT: Use a cid range check when possible to implement type tests. (Closed)
Patch Set: symbols Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/symbols.h ('k') | runtime/vm/thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « runtime/vm/symbols.h ('k') | runtime/vm/thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698