Revision: 5048
Author: [email protected]
Date: Tue Jul 13 01:55:06 2010
Log: Fix compilation error on 64-bit MacOS V8 compilation. ASSERT_EQ macro
needs unambiguous similar integer types as arguments.
Review URL: http://codereview.chromium.org/2982005
http://code.google.com/p/v8/source/detail?r=5048
Modified:
/branches/bleeding_edge/src/x64/codegen-x64.cc
=======================================
--- /branches/bleeding_edge/src/x64/codegen-x64.cc Fri Jul 9 06:20:12 2010
+++ /branches/bleeding_edge/src/x64/codegen-x64.cc Tue Jul 13 01:55:06 2010
@@ -10295,7 +10295,7 @@
// A smi plus a heap object has the low bit set, a heap object plus
// a heap object has the low bit clear.
ASSERT_EQ(0, kSmiTag);
- ASSERT_EQ(V8_UINT64_C(1), kSmiTagMask);
+ ASSERT_EQ(static_cast<int64_t>(1), kSmiTagMask);
__ lea(rcx, Operand(rax, rdx, times_1, 0));
__ testb(rcx, Immediate(kSmiTagMask));
__ j(not_zero, ¬_both_objects);
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev