| Index: test/mjsunit/array-literal-transitions.js
|
| diff --git a/test/mjsunit/array-literal-transitions.js b/test/mjsunit/array-literal-transitions.js
|
| index 519c12d6fc9e6727a43a7efbc1e1f6d9251d6cb3..4ddf2cb63d8f09316056aa4bcd35635a2119b366 100644
|
| --- a/test/mjsunit/array-literal-transitions.js
|
| +++ b/test/mjsunit/array-literal-transitions.js
|
| @@ -33,7 +33,13 @@
|
| // in this test case. Depending on whether smi-only arrays are actually
|
| // enabled, this test takes the appropriate code path to check smi-only arrays.
|
|
|
| -support_smi_only_arrays = %HasFastSmiOnlyElements(new Array());
|
| +support_smi_only_arrays = %HasFastSmiOnlyElements([1,2,3,4,5,6,7,8,9,10]);
|
| +
|
| +if (support_smi_only_arrays) {
|
| + print("Tests include smi-only arrays.");
|
| +} else {
|
| + print("Tests do NOT include smi-only arrays.");
|
| +}
|
|
|
| // IC and Crankshaft support for smi-only elements in dynamic array literals.
|
| function get(foo) { return foo; } // Used to generate dynamic values.
|
|
|