Index: src/ic/mips/ic-mips.cc |
diff --git a/src/ic/mips/ic-mips.cc b/src/ic/mips/ic-mips.cc |
index 0e8eb2c16631c4e3e63296fc80818b4e8176abac..ea32f4e80144394b5ef9ed527578513a3468c0f8 100644 |
--- a/src/ic/mips/ic-mips.cc |
+++ b/src/ic/mips/ic-mips.cc |
@@ -961,10 +961,10 @@ void PatchInlinedSmiCode(Address address, InlinedSmiCheck check) { |
Register reg = Register::from_code(Assembler::GetRs(instr_at_patch)); |
if (check == ENABLE_INLINED_SMI_CHECK) { |
DCHECK(Assembler::IsAndImmediate(instr_at_patch)); |
- DCHECK_EQ(0, Assembler::GetImmediate16(instr_at_patch)); |
+ DCHECK_EQ(0u, Assembler::GetImmediate16(instr_at_patch)); |
patcher.masm()->andi(at, reg, kSmiTagMask); |
} else { |
- DCHECK(check == DISABLE_INLINED_SMI_CHECK); |
+ DCHECK_EQ(check, DISABLE_INLINED_SMI_CHECK); |
DCHECK(Assembler::IsAndImmediate(instr_at_patch)); |
patcher.masm()->andi(at, reg, 0); |
} |