Index: test/mjsunit/array-feedback.js |
diff --git a/test/mjsunit/array-feedback.js b/test/mjsunit/array-feedback.js |
index 9c5b69cb563f39d91f2fe4c805f3cc317f08cfc0..c602018d94ac198b921784a8402f6ab65b2b0496 100644 |
--- a/test/mjsunit/array-feedback.js |
+++ b/test/mjsunit/array-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) { |
// Verify that basic elements kind feedback works for non-constructor |
// array calls (as long as the call is made through an IC, and not |