blob: 48ab08b9a37104eba372bc5d0b8ca633e8cd5b8e [file] [log] [blame]
fpizlo@apple.com434ecf22015-12-08 21:45:54 +00001function foo(p, q, r) {
2 while (r) {
3 if (p)
4 return 1;
5 else if (p)
6 return 2;
7 else
8 throw "error";
9 }
10}
11
12function bar() {
13 foo.apply(this, arguments);
14}
15
16function baz(a, b, c, d) {
17 bar(a, b, c, d);
18}
19
20noInline(baz);
21
22for (var i = 0; i < 10000; ++i)
23 baz(1, 2, 3, 4);