Index: test/mjsunit/array-constructor-feedback.js |
diff --git a/test/mjsunit/array-constructor-feedback.js b/test/mjsunit/array-constructor-feedback.js |
index d723121eef4ac6ea5c4410f98660a0d8deaadc6c..302239b79c173c9987fb0a2127278c6a57caa6c9 100644 |
--- a/test/mjsunit/array-constructor-feedback.js |
+++ b/test/mjsunit/array-constructor-feedback.js |
@@ -37,7 +37,6 @@ |
// support_smi_only_arrays = %HasFastSmiElements(new Array(1,2,3,4,5,6,7,8)); |
support_smi_only_arrays = true; |
-optimize_constructed_arrays = true; |
if (support_smi_only_arrays) { |
print("Tests include smi-only arrays."); |
@@ -45,12 +44,6 @@ if (support_smi_only_arrays) { |
print("Tests do NOT include smi-only arrays."); |
} |
-if (optimize_constructed_arrays) { |
- print("Tests include constructed array optimizations."); |
-} else { |
- print("Tests do NOT include constructed array optimizations."); |
-} |
- |
var elements_kind = { |
fast_smi_only : 'fast smi only elements', |
fast : 'fast elements', |
@@ -87,7 +80,7 @@ function assertKind(expected, obj, name_opt) { |
assertEquals(expected, getKind(obj), name_opt); |
} |
-if (support_smi_only_arrays && optimize_constructed_arrays) { |
+if (support_smi_only_arrays) { |
function bar0(t) { |
return new t(); |
} |