Reviewers: Rico,
Description:
Fix Win64 build.
[email protected]
Please review this at http://codereview.chromium.org/3017024/show
SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/
Affected files:
M src/x64/codegen-x64.cc
Index: src/x64/codegen-x64.cc
===================================================================
--- src/x64/codegen-x64.cc (revision 5115)
+++ src/x64/codegen-x64.cc (working copy)
@@ -8069,9 +8069,9 @@
__ lea(scratch.reg(), Operand(receiver.reg(), offset));
__ RecordWriteHelper(receiver.reg(), scratch.reg(), value.reg());
if (FLAG_debug_code) {
- __ movq(receiver.reg(), Immediate(BitCast<int64_t>(kZapValue)));
- __ movq(value.reg(), Immediate(BitCast<int64_t>(kZapValue)));
- __ movq(scratch.reg(), Immediate(BitCast<int64_t>(kZapValue)));
+ __ movq(receiver.reg(), BitCast<int64_t>(kZapValue),
RelocInfo::NONE);
+ __ movq(value.reg(), BitCast<int64_t>(kZapValue), RelocInfo::NONE);
+ __ movq(scratch.reg(), BitCast<int64_t>(kZapValue), RelocInfo::NONE);
}
__ bind(&skip_write_barrier);
value.Unuse();
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev