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

Unified Diff: runtime/vm/stub_code_ia32.cc

Issue 529823002: - Add AtomicOperations::CompareAndSwapWord (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 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/stub_code_ia32.cc
===================================================================
--- runtime/vm/stub_code_ia32.cc (revision 39714)
+++ runtime/vm/stub_code_ia32.cc (working copy)
@@ -1021,6 +1021,9 @@
__ popl(EDX);
__ ret();
+ // Update the tags that this object has been remembered.
+ // EAX: Address being stored
+ // ECX: Current tag value
__ Bind(&add_to_buffer);
__ orl(ECX, Immediate(1 << RawObject::kRememberedBit));
__ movl(FieldAddress(EAX, Object::tags_offset()), ECX);
« runtime/vm/snapshot.cc ('K') | « runtime/vm/snapshot.cc ('k') | runtime/vm/vm_sources.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698