Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 30fea91d796b99db864bc8e07f3d2534d9218259..4fcb99c942f6cd0fca6e9801f8603e280c52905d 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -7767,7 +7767,6 @@ MaybeObject* JSObject::SetFastElementsCapacityAndLength( |
if (elements()->map() != heap->non_strict_arguments_elements_map()) { |
Object* object; |
bool has_fast_smi_only_elements = |
- FLAG_smi_only_arrays && |
(set_capacity_mode == kAllowSmiOnlyElements) && |
(elements()->map()->has_fast_smi_only_elements() || |
elements() == heap->empty_fixed_array()); |