| //@ 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); |