Index: src/x64/ic-x64.cc |
diff --git a/src/x64/ic-x64.cc b/src/x64/ic-x64.cc |
index 4ae17854329dc1b2c0ab68363c0987f4e165909b..27a96674cf7d02c8d40235e8e8549c6f6f3c1985 100644 |
--- a/src/x64/ic-x64.cc |
+++ b/src/x64/ic-x64.cc |
@@ -709,11 +709,9 @@ void KeyedStoreIC::GenerateGeneric(MacroAssembler* masm, |
__ ret(0); |
__ bind(&non_smi_value); |
- if (FLAG_smi_only_arrays) { |
- // Writing a non-smi, check whether array allows non-smi elements. |
- // r9: receiver's map |
- __ CheckFastObjectElements(r9, &slow, Label::kNear); |
- } |
+ // Writing a non-smi, check whether array allows non-smi elements. |
+ // r9: receiver's map |
+ __ CheckFastObjectElements(r9, &slow, Label::kNear); |
__ lea(rcx, |
FieldOperand(rbx, rcx, times_pointer_size, FixedArray::kHeaderSize)); |
__ movq(Operand(rcx, 0), rax); |