summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/debug/bug1851135.js
blob: 5e1787ab694a6894828379faabba96b84f904e58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// |jit-test| --fast-warmup; --no-threads

function foo() {
    let x = {};

    for (let i = 0; i < 100; i++) {
        for (let j = 0; j < 100; j++) {}
    }
    const g = this.newGlobal({sameZoneAs: this});
    const dbg = g.Debugger(this);
    dbg.getNewestFrame().eval("x = foo;");
}
foo();