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

Unified Diff: runtime/vm/object_store.h

Issue 10832199: Add a weak property type to the virtual machine. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: minor clean-up Created 8 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/object_store.h
diff --git a/runtime/vm/object_store.h b/runtime/vm/object_store.h
index 2a633dbc283c9cb1ec16630cf41d2e82d0d64630..e22b4d710da80cea7b5809200cb896e04be7a791 100644
--- a/runtime/vm/object_store.h
+++ b/runtime/vm/object_store.h
@@ -74,6 +74,7 @@ class ObjectStore {
kExternalFloat64ArrayClass,
kStacktraceClass,
kJSRegExpClass,
+ kWeakPropertyClass,
kMaxId,
kInvalidIndex = -1,
};
@@ -393,6 +394,13 @@ class ObjectStore {
return OFFSET_OF(ObjectStore, jsregexp_class_);
}
+ RawClass* weak_property_class() const {
+ return weak_property_class_;
+ }
+ void set_weak_property_class(const Class& value) {
+ weak_property_class_ = value.raw();
+ }
+
RawArray* symbol_table() const { return symbol_table_; }
void set_symbol_table(const Array& value) { symbol_table_ = value.raw(); }
@@ -573,6 +581,7 @@ class ObjectStore {
RawClass* external_float64_array_class_;
RawClass* stacktrace_class_;
RawClass* jsregexp_class_;
+ RawClass* weak_property_class_;
RawBool* true_value_;
RawBool* false_value_;
RawArray* empty_array_;

Powered by Google App Engine
This is Rietveld 408576698