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

Unified Diff: runtime/vm/object_store.h

Issue 8383029: Implement external strings. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address final review comments Created 9 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
« 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 3fafe6e6f57de5eaaca9e2f6ac0f47d28d2a0208..6586c64dbc25605877d7b1d09c46fda81bbd08f4 100644
--- a/runtime/vm/object_store.h
+++ b/runtime/vm/object_store.h
@@ -43,6 +43,9 @@ class ObjectStore {
kOneByteStringClass,
kTwoByteStringClass,
kFourByteStringClass,
+ kExternalOneByteStringClass,
+ kExternalTwoByteStringClass,
+ kExternalFourByteStringClass,
kBoolClass,
kArrayClass,
kImmutableArrayClass,
@@ -127,6 +130,27 @@ class ObjectStore {
four_byte_string_class_ = value.raw();
}
+ RawClass* external_one_byte_string_class() const {
+ return external_one_byte_string_class_;
+ }
+ void set_external_one_byte_string_class(const Class& value) {
+ external_one_byte_string_class_ = value.raw();
+ }
+
+ RawClass* external_two_byte_string_class() const {
+ return external_two_byte_string_class_;
+ }
+ void set_external_two_byte_string_class(const Class& value) {
+ external_two_byte_string_class_ = value.raw();
+ }
+
+ RawClass* external_four_byte_string_class() const {
+ return external_four_byte_string_class_;
+ }
+ void set_external_four_byte_string_class(const Class& value) {
+ external_four_byte_string_class_ = value.raw();
+ }
+
RawType* bool_interface() const { return bool_interface_; }
void set_bool_interface(const Type& value) { bool_interface_ = value.raw(); }
@@ -272,6 +296,9 @@ class ObjectStore {
RawClass* one_byte_string_class_;
RawClass* two_byte_string_class_;
RawClass* four_byte_string_class_;
+ RawClass* external_one_byte_string_class_;
+ RawClass* external_two_byte_string_class_;
+ RawClass* external_four_byte_string_class_;
RawType* bool_interface_;
RawClass* bool_class_;
RawType* list_interface_;
« 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