blob: 28c990c59fb5a106155ee42cc3d9e1c39ad6a02d [file] [log] [blame]
//@ skip if $model == "Apple Watch Series 3" # added by mark-jsc-stress-test.py
function test(constructor)
{
var array = new constructor(1, 2);
for (var i = 0; i < 20; ++i)
array.push(i);
return array;
}
noInline(test);
for (var i = 0; i < 1e5; ++i)
var result = test(Array);