blob: bfecf7136183db63e3d3f6f5373b6f59a4223952 [file] [log] [blame]
//@ skip if $buildType == "release"
//@ runDefault("--watchdog=100", "--watchdog-exception-ok")
function baz(c) {
if (c) {
$vm.haveABadTime();
}
}
noInline(baz);
function bar() {}
function foo(c, ...args) {
let args2 = [...args];
baz(c);
bar.apply(undefined, args2);
}
for (let i = 0; i < 70000; i++) {
foo(false, 0);
}
foo(true, 0);