Reviewers: Vyacheslav Egorov,

Description:
Fix compilation error on 64-bit MacOS V8 compilation.  ASSERT_EQ macro needs
unambiguous similar integer types as arguments.

Please review this at http://codereview.chromium.org/2982005/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 5046)
+++ src/x64/codegen-x64.cc      (working copy)
@@ -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, &not_both_objects);


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to