Index: src/mips64/macro-assembler-mips64.cc |
diff --git a/src/mips64/macro-assembler-mips64.cc b/src/mips64/macro-assembler-mips64.cc |
index 21cc3dc1eb29957742e4b23662bc18e1d1c08312..8b00f0276d0fe557dcf5e13d5e066e23391baf75 100644 |
--- a/src/mips64/macro-assembler-mips64.cc |
+++ b/src/mips64/macro-assembler-mips64.cc |
@@ -3234,7 +3234,7 @@ void MacroAssembler::PushTryHandler(StackHandler::Kind kind, |
// Push the frame pointer, context, state, and code object. |
if (kind == StackHandler::JS_ENTRY) { |
- DCHECK_EQ(Smi::FromInt(0), 0); |
+ DCHECK_EQ(static_cast<Smi*>(0), Smi::FromInt(0)); |
// The second zero_reg indicates no context. |
// The first zero_reg is the NULL frame pointer. |
// The operands are reversed to match the order of MultiPush/Pop. |
@@ -5222,7 +5222,7 @@ void MacroAssembler::JumpIfNotBothSmi(Register reg1, |
#if defined(__APPLE__) |
DCHECK_EQ(1, kSmiTagMask); |
#else |
- DCHECK_EQ((uint64_t)1, kSmiTagMask); |
+ DCHECK_EQ((int64_t)1, kSmiTagMask); |
#endif |
or_(at, reg1, reg2); |
JumpIfNotSmi(at, on_not_both_smi); |
@@ -5237,7 +5237,7 @@ void MacroAssembler::JumpIfEitherSmi(Register reg1, |
#if defined(__APPLE__) |
DCHECK_EQ(1, kSmiTagMask); |
#else |
- DCHECK_EQ((uint64_t)1, kSmiTagMask); |
+ DCHECK_EQ((int64_t)1, kSmiTagMask); |
#endif |
// Both Smi tags must be 1 (not Smi). |
and_(at, reg1, reg2); |