Index: src/ia32/lithium-codegen-ia32.cc |
diff --git a/src/ia32/lithium-codegen-ia32.cc b/src/ia32/lithium-codegen-ia32.cc |
index 7c0df1847a05ca3d3a5362ff6f82150f4273a35f..8441274b620a67f0416c3bf37471891135b9dfa8 100644 |
--- a/src/ia32/lithium-codegen-ia32.cc |
+++ b/src/ia32/lithium-codegen-ia32.cc |
@@ -4351,7 +4351,7 @@ void LCodeGen::DoStoreNamedField(LStoreNamedField* instr) { |
} else if (representation.IsHeapObject()) { |
if (instr->value()->IsConstantOperand()) { |
LConstantOperand* operand_value = LConstantOperand::cast(instr->value()); |
- if (IsInteger32(operand_value)) { |
+ if (chunk_->LookupConstant(operand_value)->HasSmiValue()) { |
DeoptimizeIf(no_condition, instr->environment()); |
} |
} else { |