Index: src/arm/ic-arm.cc |
diff --git a/src/arm/ic-arm.cc b/src/arm/ic-arm.cc |
index 34807c3e944d61711e680b16205d92ff430588b8..6e0badca1d764ac29a6734a447378d2ec3789ea6 100644 |
--- a/src/arm/ic-arm.cc |
+++ b/src/arm/ic-arm.cc |
@@ -1380,10 +1380,8 @@ void KeyedStoreIC::GenerateGeneric(MacroAssembler* masm, |
__ Ret(); |
__ bind(&non_smi_value); |
- if (FLAG_smi_only_arrays) { |
- // Escape to slow case when writing non-smi into smi-only array. |
- __ CheckFastObjectElements(receiver_map, scratch_value, &slow); |
- } |
+ // Escape to slow case when writing non-smi into smi-only array. |
+ __ CheckFastObjectElements(receiver_map, scratch_value, &slow); |
// Fast elements array, store the value to the elements backing store. |
__ add(address, elements, Operand(FixedArray::kHeaderSize - kHeapObjectTag)); |
__ add(address, address, Operand(key, LSL, kPointerSizeLog2 - kSmiTagSize)); |