Index: test/mjsunit/elements-kind.js |
diff --git a/test/mjsunit/elements-kind.js b/test/mjsunit/elements-kind.js |
index b74a21243745dde2aef62d8940b66801686d8491..1bc71f1a9b85d40fc175885809dc91ceb0302d5c 100644 |
--- a/test/mjsunit/elements-kind.js |
+++ b/test/mjsunit/elements-kind.js |
@@ -165,7 +165,7 @@ monomorphic(smi_only); |
if (support_smi_only_arrays) { |
function construct_smis() { |
- var a = [0, 0, 0]; |
+ var a = new Array(0, 0, 0); |
a[0] = 0; // Send the COW array map to the steak house. |
assertKind(elements_kind.fast_smi_only, a); |
return a; |