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

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: address final review comments 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
« 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 1ebe11ba20b7ac7073fa902d51b28b2067c1e1c3..1b8eed9155916bfb288f86f36b0b86d6a9464c87 100644
--- a/runtime/vm/object_store.h
+++ b/runtime/vm/object_store.h
@@ -341,6 +341,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(); }
@@ -516,6 +523,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* symbol_table_;
« 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