summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug1244502.js
blob: b0b3943cd5bb60050cd81cee4b78f9529c754cde (plain)
1
2
3
4
5
6
7
8
9
10
11
12
function f(arg) {
    bailout();
    assertEq(arguments.length, 2);
    assertEq(arg, "");
    assertEq(arguments[0], "");
    assertEq(arguments[1], 0);
}
for (var i = 0; i < 100; ++i) {
    (function() {
        f.call(1, "", 0);
    })();
}