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

Unified Diff: runtime/vm/object_store.h

Issue 1420103006: Shared token objects (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: catch up Created 5 years, 2 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/object.cc ('k') | runtime/vm/object_store.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object_store.h
diff --git a/runtime/vm/object_store.h b/runtime/vm/object_store.h
index 8fd89294577606833fbfd752459e560c2e366c7d..721669b91b8391ab86cf90860f6e3056ac1109b6 100644
--- a/runtime/vm/object_store.h
+++ b/runtime/vm/object_store.h
@@ -429,6 +429,20 @@ class ObjectStore {
compile_time_constants_ = value.raw();
}
+ RawGrowableObjectArray* token_objects() const {
+ return token_objects_;
+ }
+ void set_token_objects(const GrowableObjectArray& value) {
+ token_objects_ = value.raw();
+ }
+
+ RawArray* token_objects_map() const {
+ return token_objects_map_;
+ }
+ void set_token_objects_map(const Array& value) {
+ token_objects_map_ = value.raw();
+ }
+
RawGrowableObjectArray* megamorphic_cache_table() const {
return megamorphic_cache_table_;
}
@@ -536,6 +550,8 @@ class ObjectStore {
RawObject** to_snapshot() {
return reinterpret_cast<RawObject**>(&compile_time_constants_);
}
+ RawGrowableObjectArray* token_objects_;
+ RawArray* token_objects_map_;
RawGrowableObjectArray* megamorphic_cache_table_;
RawCode* megamorphic_miss_code_;
RawFunction* megamorphic_miss_function_;
« no previous file with comments | « runtime/vm/object.cc ('k') | runtime/vm/object_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698