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

Unified Diff: runtime/vm/isolate.h

Issue 463103002: Fix bug with CHA dependencies by recording a set of classes for registering code. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 4 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
Index: runtime/vm/isolate.h
===================================================================
--- runtime/vm/isolate.h (revision 39070)
+++ runtime/vm/isolate.h (working copy)
@@ -26,6 +26,7 @@
class ApiState;
class Array;
class Capability;
+class CHA;
class Class;
class Code;
class CodeIndexTable;
@@ -143,8 +144,8 @@
return OFFSET_OF(Isolate, class_table_);
}
- bool cha_used() const { return cha_used_; }
- void set_cha_used(bool value) { cha_used_ = value; }
+ CHA* cha() const { return cha_; }
+ void set_cha(CHA* value) { cha_ = value; }
MegamorphicCacheTable* megamorphic_cache_table() {
return &megamorphic_cache_table_;
@@ -647,7 +648,7 @@
int64_t last_allocationprofile_accumulator_reset_timestamp_;
int64_t last_allocationprofile_gc_timestamp_;
- bool cha_used_;
+ CHA* cha_;
// Ring buffer of objects assigned an id.
ObjectIdRing* object_id_ring_;

Powered by Google App Engine
This is Rietveld 408576698