Index: test/mjsunit/elements-transition.js |
diff --git a/test/mjsunit/elements-transition.js b/test/mjsunit/elements-transition.js |
index 5f6cc4fa3763a0edbe48129fe9fec80f7cb2d22d..67095c456e8326c499d2a89c2c8bec9d2ebff9df 100644 |
--- a/test/mjsunit/elements-transition.js |
+++ b/test/mjsunit/elements-transition.js |
@@ -27,7 +27,13 @@ |
// Flags: --allow-natives-syntax --smi-only-arrays |
-support_smi_only_arrays = %HasFastSmiOnlyElements([]); |
+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."); |
+} |
if (support_smi_only_arrays) { |
function test(test_double, test_object, set, length) { |
@@ -104,4 +110,4 @@ if (support_smi_only_arrays) { |
assertEquals(1, b[0]); |
} else { |
print("Test skipped because smi only arrays are not supported."); |
-} |
+} |