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

Unified Diff: runtime/vm/object_store.h

Issue 11299020: Make creation of list literal more resilient to changes in the underlying (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 1 month 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/object_store.h
===================================================================
--- runtime/vm/object_store.h (revision 14985)
+++ runtime/vm/object_store.h (working copy)
@@ -137,10 +137,8 @@
RawClass* bool_class() const { return bool_class_; }
void set_bool_class(const Class& value) { bool_class_ = value.raw(); }
- RawType* list_interface() const { return list_interface_; }
- void set_list_interface(const Type& value) {
- list_interface_ = value.raw();
- }
+ RawClass* list_class() const { return list_class_; }
+ void set_list_class(const Class& value) { list_class_ = value.raw(); }
RawClass* array_class() const { return array_class_; }
void set_array_class(const Class& value) { array_class_ = value.raw(); }
@@ -148,6 +146,9 @@
return OFFSET_OF(ObjectStore, array_class_);
}
+ RawType* array_type() const { return array_type_; }
+ void set_array_type(const Type& value) { array_type_ = value.raw(); }
+
RawClass* immutable_array_class() const { return immutable_array_class_; }
void set_immutable_array_class(const Class& value) {
immutable_array_class_ = value.raw();
@@ -486,8 +487,9 @@
RawClass* external_two_byte_string_class_;
RawType* bool_type_;
RawClass* bool_class_;
- RawType* list_interface_;
+ RawClass* list_class_;
RawClass* array_class_;
+ RawType* array_type_;
RawClass* immutable_array_class_;
RawClass* growable_object_array_class_;
RawClass* int8_array_class_;

Powered by Google App Engine
This is Rietveld 408576698