Index: src/x64/full-codegen-x64.cc |
diff --git a/src/x64/full-codegen-x64.cc b/src/x64/full-codegen-x64.cc |
index 1d9b8fffc2ba31442de8df8b9edddc25620ef549..d96efbf8c2abe5a93707b76edb577b2b609994bf 100644 |
--- a/src/x64/full-codegen-x64.cc |
+++ b/src/x64/full-codegen-x64.cc |
@@ -1467,12 +1467,10 @@ void FullCodeGenerator::VisitArrayLiteral(ArrayLiteral* expr) { |
kDontSaveFPRegs, |
EMIT_REMEMBERED_SET, |
OMIT_SMI_CHECK); |
- if (FLAG_smi_only_arrays) { |
- __ movq(rdi, FieldOperand(rbx, JSObject::kMapOffset)); |
- __ CheckFastSmiOnlyElements(rdi, &no_map_change, Label::kNear); |
- __ push(r8); |
- __ CallRuntime(Runtime::kNonSmiElementStored, 1); |
- } |
+ __ movq(rdi, FieldOperand(rbx, JSObject::kMapOffset)); |
+ __ CheckFastSmiOnlyElements(rdi, &no_map_change, Label::kNear); |
+ __ push(r8); |
+ __ CallRuntime(Runtime::kNonSmiElementStored, 1); |
__ bind(&no_map_change); |
PrepareForBailoutForId(expr->GetIdForElement(i), NO_REGISTERS); |