summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/jaeger/bug653397.js
blob: f17167fac14e2a8bc8200d11a8c6b7ddc90735e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
try {
    function testSlowArrayPopMultiFrame() {
        a = undefined;
        function parent(a, i) { i };
        function gramps(a, i) {
            return parent;
        }
        var last;
        for (var i = 0; ; gramps++) {
            last = gramps(a, i)
        }
    }(testSlowArrayPopMultiFrame(), 23);
    assertEq(0, 1);
} catch(e) {
    assertEq(e instanceof TypeError, true);
}