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

Unified Diff: src/ia32/ic-ia32.cc

Issue 6092007: Write buffer based write barrier for IA32 and Crankshaft. Currently... (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/gc/
Patch Set: '' Created 9 years, 12 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 | « src/ia32/full-codegen-ia32.cc ('k') | src/ia32/lithium-codegen-ia32.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ia32/ic-ia32.cc
===================================================================
--- src/ia32/ic-ia32.cc (revision 6183)
+++ src/ia32/ic-ia32.cc (working copy)
@@ -264,10 +264,8 @@
__ mov(Operand(r0, 0), value);
// Update write barrier. Make sure not to clobber the value.
-#ifdef ENABLE_CARDMARKING_WRITE_BARRIER
__ mov(r1, value);
- __ RecordWrite(elements, r0, r1);
-#endif
+ __ RecordWrite(elements, r0, r1, kDontSaveFPRegs);
}
@@ -1027,11 +1025,9 @@
// edi: FixedArray receiver->elements
__ mov(CodeGenerator::FixedArrayElementOperand(edi, ecx), eax);
-#ifdef ENABLE_CARDMARKING_WRITE_BARRIER
// Update write barrier for the elements array address.
__ mov(edx, Operand(eax));
- __ RecordWrite(edi, 0, edx, ecx);
-#endif
+ __ RecordWrite(edi, 0, edx, ecx, kDontSaveFPRegs);
__ ret(0);
}
« no previous file with comments | « src/ia32/full-codegen-ia32.cc ('k') | src/ia32/lithium-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698