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

Unified Diff: runtime/vm/assembler_x64.cc

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/assembler_x64.cc
===================================================================
--- runtime/vm/assembler_x64.cc (revision 20732)
+++ runtime/vm/assembler_x64.cc (working copy)
@@ -2079,7 +2079,9 @@
}
// A store buffer update is required.
if (value != RAX) pushq(RAX);
- leaq(RAX, dest);
+ if (object != RAX) {
+ movq(RAX, object);
+ }
call(&StubCode::UpdateStoreBufferLabel());
if (value != RAX) popq(RAX);
Bind(&done);
« no previous file with comments | « runtime/vm/assembler_test.cc ('k') | runtime/vm/gc_marker.cc » ('j') | runtime/vm/object.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698