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

Unified Diff: runtime/vm/assembler_x64.cc

Issue 10636017: - Fix the x64 store-barrier. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 6 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 9046)
+++ runtime/vm/assembler_x64.cc (working copy)
@@ -1414,11 +1414,11 @@
void Assembler::StoreIntoObjectFilter(Register object,
cshapiro 2012/06/22 23:22:40 Document as destroying value? Maybe in the header
Ivan Posva 2012/06/22 23:42:21 Done.
Register value,
Label* no_update) {
- andl(value, Immediate(0x5));
+ andl(value, Immediate(0x9));
cshapiro 2012/06/22 23:22:40 Can't these values be synthesized from constants?
Ivan Posva 2012/06/22 23:42:21 Using the constants would actually be a very nice
shrl(value, Immediate(1));
adcl(value, object);
- andl(value, Immediate(0x7));
- cmpl(value, Immediate(0x4));
+ andl(value, Immediate(0xf));
cshapiro 2012/06/22 23:22:40 ditto
+ cmpl(value, Immediate(0x6));
cshapiro 2012/06/22 23:22:40 ditto
j(NOT_ZERO, no_update, Assembler::kNearJump);
}

Powered by Google App Engine
This is Rietveld 408576698