blob: a2478cf93d97d99a7068c9c32e3df4346d422aea [file] [log] [blame]
"use strict";
function foo(a, b, c, d, e, f) {
return arguments.length;
}
noInline(foo);
function bar() {
return foo(1, 2, 3);
}
noInline(bar);
for (var i = 0; i < 10000; ++i) {
var result = bar();
if (result != 3)
throw "Error: bad result: " + result;
}