Index: test/mjsunit/allocation-site-info.js |
diff --git a/test/mjsunit/allocation-site-info.js b/test/mjsunit/allocation-site-info.js |
index 5c7ae13094f939640a5e15677010ac2877161ccf..45605317fea69bfd116897c75e9a1a08fc5a9bdb 100644 |
--- a/test/mjsunit/allocation-site-info.js |
+++ b/test/mjsunit/allocation-site-info.js |
@@ -28,10 +28,6 @@ |
// Flags: --allow-natives-syntax --smi-only-arrays --expose-gc |
// Flags: --track-allocation-sites --noalways-opt |
-// TODO(mvstanton): remove --nooptimize-constructed-arrays and enable |
-// the constructed array code below when the feature is turned on |
-// by default. |
- |
// Test element kind of objects. |
// Since --smi-only-arrays affects builtins, its default setting at compile |
// time sticks if built with snapshot. If --smi-only-arrays is deactivated |
@@ -41,7 +37,7 @@ |
// support_smi_only_arrays = %HasFastSmiElements(new Array(1,2,3,4,5,6,7,8)); |
support_smi_only_arrays = true; |
-optimize_constructed_arrays = false; |
+optimize_constructed_arrays = true; |
if (support_smi_only_arrays) { |
print("Tests include smi-only arrays."); |