Index: src/ia32/code-stubs-ia32.cc |
diff --git a/src/ia32/code-stubs-ia32.cc b/src/ia32/code-stubs-ia32.cc |
index 1c74450c6cb62740dff6bcb952b9c7fe6db923bf..ca1afcda97d7b3b2ed6fa5e737149613294bcdcd 100644 |
--- a/src/ia32/code-stubs-ia32.cc |
+++ b/src/ia32/code-stubs-ia32.cc |
@@ -1706,7 +1706,7 @@ void CompareICStub::GenerateGeneric(MacroAssembler* masm) { |
// If either is a Smi (we know that not both are), then they can only |
// be equal if the other is a HeapNumber. If so, use the slow case. |
STATIC_ASSERT(kSmiTag == 0); |
- DCHECK_EQ(static_cast<Smi*>(0), Smi::FromInt(0)); |
+ DCHECK_EQ(0, Smi::FromInt(0)); |
__ mov(ecx, Immediate(kSmiTagMask)); |
__ and_(ecx, eax); |
__ test(ecx, edx); |