summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug1408412.js
blob: a69749f9aa2dd71a6098f820f065e3ad3d5d443a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
function g() {
    return arguments.length;
}
function f() {
    with(this) {};
    for (var i = 0; i < 100; i++) {
        g();
    }
    var s = "for (var j = 0; j < 1200; j++) assertEq(g(";
    for (var i = 0; i < 5000; i++)
        s += i + ",";
    s += "1), 5001);";
    eval(s);
}
f();