Commit 20d4c6d5 authored by whesse@chromium.org's avatar whesse@chromium.org

Fix compilation error on 64-bit MacOS V8 compilation. ASSERT_EQ macro needs...

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5048 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 7780bea2
......@@ -10295,7 +10295,7 @@ void CompareStub::Generate(MacroAssembler* masm) {
// 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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment