Index: src/ia32/macro-assembler-ia32.cc |
diff --git a/src/ia32/macro-assembler-ia32.cc b/src/ia32/macro-assembler-ia32.cc |
index b6e1d000b35bd0dac25b72a49813a99c7c83ed20..047236f43d8f3bd324b80c70e4f01584ed26d574 100644 |
--- a/src/ia32/macro-assembler-ia32.cc |
+++ b/src/ia32/macro-assembler-ia32.cc |
@@ -296,7 +296,7 @@ void MacroAssembler::DispatchMap(Register obj, |
Handle<Code> success, |
SmiCheckType smi_check_type) { |
Label fail; |
- if (smi_check_type == DONT_DO_SMI_CHECK) { |
+ if (smi_check_type == DO_SMI_CHECK) { |
JumpIfSmi(obj, &fail); |
} |
cmp(FieldOperand(obj, HeapObject::kMapOffset), Immediate(map)); |