blob: d737bca8b0e4b14a1680c8c568c0b94a5d420c72 [file] [log] [blame]
//@ skip if $model == "Apple Watch Series 3" # added by mark-jsc-stress-test.py
//@ runNoFTL
function foo() {
return [[1,2,3], [5,6,6]];
}
function bar() {
return ["foo", "bar"];
}
function baz() {
return [foo(), bar(), foo(), bar()];
}
function thingy() {
var result = [];
for (var i = 0; i < 50000; ++i)
result.push(baz());
return result;
}
var size = thingy().length;
if (size != 50000)
throw "Error: bad size: " + size;