Index: src/ia32/macro-assembler-ia32.cc |
diff --git a/src/ia32/macro-assembler-ia32.cc b/src/ia32/macro-assembler-ia32.cc |
index 6c02ce48329b4d71dbae2a75f50559cd31813035..b83761f9f0c77810078ee8c3dc895d9c21192508 100644 |
--- a/src/ia32/macro-assembler-ia32.cc |
+++ b/src/ia32/macro-assembler-ia32.cc |
@@ -283,7 +283,7 @@ void MacroAssembler::CheckMap(Register obj, |
Handle<Map> map, |
Label* fail, |
SmiCheckType smi_check_type) { |
- 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)); |