summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/parser/bug-1324773.js
blob: 1ab1a3fb9aaec51f81458355ee537b11c5da0e25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// |jit-test| skip-if: !('gczeal' in this)

var lfGlobal = newGlobal();
lfGlobal.evaluate(`
    for (var i = 0; i < 600; i++)
        eval('function f' + i + '() {}');
`);
var lfGlobal = newGlobal();
lfGlobal.evaluate(`
    if (!('gczeal' in this))
        quit();
    var dbg = new Debugger();
    gczeal(9, 1);
    dbg.findScripts({});
`);