blob: 3e8ed6b87f8c6fb5ec9fecf9461da9d14ece967b [file] [log] [blame]
//@ skip if $model == "Apple Watch Series 3" # added by mark-jsc-stress-test.py
function createGeneratorFunction()
{
function *gen()
{
yield 20;
yield 30;
}
return gen;
}
function test()
{
for (var i = 0; i < 500; ++i)
createGeneratorFunction();
}
noInline(test);
for (var i = 0; i < 1e4; ++i)
test();