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

Unified Diff: runtime/vm/isolate.h

Issue 1016973002: Move CHA state keeping from Isolate to Thread. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 years, 9 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/growable_array.h ('k') | runtime/vm/thread.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/isolate.h
===================================================================
--- runtime/vm/isolate.h (revision 44544)
+++ runtime/vm/isolate.h (working copy)
@@ -154,9 +154,6 @@
return OFFSET_OF(Isolate, class_table_);
}
- CHA* cha() const { return cha_; }
- void set_cha(CHA* value) { cha_ = value; }
-
MegamorphicCacheTable* megamorphic_cache_table() {
return &megamorphic_cache_table_;
}
@@ -661,6 +658,8 @@
user_tag_ = tag;
}
+ CHA* cha() const { return cha_; }
+ void set_cha(CHA* value) { cha_ = value; }
template<class T> T* AllocateReusableHandle();
@@ -792,6 +791,7 @@
#undef REUSABLE_FRIEND_DECLARATION
friend class ServiceIsolate;
+ friend class Thread;
DISALLOW_COPY_AND_ASSIGN(Isolate);
};
« no previous file with comments | « runtime/vm/growable_array.h ('k') | runtime/vm/thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698