Index: src/ia32/full-codegen-ia32.cc |
diff --git a/src/ia32/full-codegen-ia32.cc b/src/ia32/full-codegen-ia32.cc |
index d45a9cdaeea3ab3725152056bb3a87ecde43e77d..68d89a27f06f2a56d473795e18ab180e1ebe71a5 100644 |
--- a/src/ia32/full-codegen-ia32.cc |
+++ b/src/ia32/full-codegen-ia32.cc |
@@ -1499,12 +1499,10 @@ void FullCodeGenerator::VisitArrayLiteral(ArrayLiteral* expr) { |
kDontSaveFPRegs, |
EMIT_REMEMBERED_SET, |
OMIT_SMI_CHECK); |
- if (FLAG_smi_only_arrays) { |
- __ mov(edi, FieldOperand(ebx, JSObject::kMapOffset)); |
- __ CheckFastSmiOnlyElements(edi, &no_map_change, Label::kNear); |
- __ push(Operand(esp, 0)); |
- __ CallRuntime(Runtime::kNonSmiElementStored, 1); |
- } |
+ __ mov(edi, FieldOperand(ebx, JSObject::kMapOffset)); |
+ __ CheckFastSmiOnlyElements(edi, &no_map_change, Label::kNear); |
+ __ push(Operand(esp, 0)); |
+ __ CallRuntime(Runtime::kNonSmiElementStored, 1); |
__ bind(&no_map_change); |
PrepareForBailoutForId(expr->GetIdForElement(i), NO_REGISTERS); |