summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/testBug723445.js
blob: 7cbe0a0172319641202ee3061d18963c0567392d (plain)
1
2
3
4
5
6
7
8
9
10
var global = newGlobal();
global.eval("function f(b) { if (b) { new Error }; }");

function f(b) { global.f(b) }
function g(b) { f(b) }
function h() {
    for (var i = 0; i < 1000; ++i)
        g(i > 900);
}
h();