Index: src/ia32/ic-ia32.cc |
diff --git a/src/ia32/ic-ia32.cc b/src/ia32/ic-ia32.cc |
index 4c72e561c5dfa249e08e615b914cacc202587500..8a98b179d3b692727202c17eb1371179658a22f5 100644 |
--- a/src/ia32/ic-ia32.cc |
+++ b/src/ia32/ic-ia32.cc |
@@ -833,11 +833,9 @@ void KeyedStoreIC::GenerateGeneric(MacroAssembler* masm, |
__ ret(0); |
__ bind(&non_smi_value); |
- if (FLAG_smi_only_arrays) { |
- // Escape to slow case when writing non-smi into smi-only array. |
- __ mov(edi, FieldOperand(edx, HeapObject::kMapOffset)); |
- __ CheckFastObjectElements(edi, &slow, Label::kNear); |
- } |
+ // Escape to slow case when writing non-smi into smi-only array. |
+ __ mov(edi, FieldOperand(edx, HeapObject::kMapOffset)); |
+ __ CheckFastObjectElements(edi, &slow, Label::kNear); |
// Fast elements array, store the value to the elements backing store. |
__ mov(CodeGenerator::FixedArrayElementOperand(ebx, ecx), eax); |