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

Unified Diff: runtime/vm/object.h

Issue 13406004: - Remember objects (not addresses) in the old generation containing new pointers. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 9 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.h
===================================================================
--- runtime/vm/object.h (revision 20732)
+++ runtime/vm/object.h (working copy)
@@ -432,7 +432,7 @@
// Filter stores based on source and target.
if (!value->IsHeapObject()) return;
if (value->IsNewObject() && raw()->IsOldObject()) {
- uword ptr = reinterpret_cast<uword>(addr);
+ uword ptr = reinterpret_cast<uword>(raw());
Isolate::Current()->store_buffer()->AddPointer(ptr);
}
}
@@ -4930,7 +4930,7 @@
// Filter stores based on source and target.
if (!value->IsHeapObject()) return;
if (value->IsNewObject() && data()->IsOldObject()) {
- uword ptr = reinterpret_cast<uword>(addr);
+ uword ptr = reinterpret_cast<uword>(data());
Isolate::Current()->store_buffer()->AddPointer(ptr);
}
}
« no previous file with comments | « runtime/vm/gc_marker.cc ('k') | runtime/vm/object.cc » ('j') | runtime/vm/object.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698