Debian Codegraph @

js/src/jit-test/tests/debug/bug1851135.js

raw
1 // |jit-test| --fast-warmup; --no-threads
2
3 function foo() {
4 let x = {};
5
6 for (let i = 0; i < 100; i++) {
7 for (let j = 0; j < 100; j++) {}
8 }
9 const g = this.newGlobal({sameZoneAs: this});
10 const dbg = g.Debugger(this);
11 dbg.getNewestFrame().eval("x = foo;");
12 }
13 foo();