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

Unified Diff: runtime/vm/thread.h

Issue 2579413002: Revert "Save and restore feedback from JIT." (Closed)
Patch Set: Created 4 years 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/program_visitor.cc ('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 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_;
« no previous file with comments | « runtime/vm/program_visitor.cc ('k') | runtime/vm/thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698