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

Unified Diff: vm/object.h

Issue 10797021: - Start using the collected store buffer entries to find (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 5 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 | « vm/isolate.h ('k') | vm/object.cc » ('j') | vm/scavenger.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/object.h
===================================================================
--- vm/object.h (revision 9751)
+++ vm/object.h (working copy)
@@ -3717,7 +3717,7 @@
return raw_ptr()->type_arguments_;
}
virtual void SetTypeArguments(const AbstractTypeArguments& value) const {
- raw_ptr()->type_arguments_ = value.raw();
+ StorePointer(&raw_ptr()->type_arguments_, value.raw());
}
virtual bool Equals(const Instance& other) const;
@@ -3847,7 +3847,7 @@
virtual void SetTypeArguments(const AbstractTypeArguments& value) const {
const Array& contents = Array::Handle(data());
contents.SetTypeArguments(value);
- raw_ptr()->type_arguments_ = value.raw();
+ StorePointer(&raw_ptr()->type_arguments_, value.raw());
}
virtual bool Equals(const Instance& other) const;
@@ -4965,7 +4965,7 @@
return raw_ptr()->type_arguments_;
}
virtual void SetTypeArguments(const AbstractTypeArguments& value) const {
- raw_ptr()->type_arguments_ = value.raw();
+ StorePointer(&raw_ptr()->type_arguments_, value.raw());
}
static intptr_t type_arguments_offset() {
return OFFSET_OF(RawClosure, type_arguments_);
« no previous file with comments | « vm/isolate.h ('k') | vm/object.cc » ('j') | vm/scavenger.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698