summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/bug1116306.js
blob: 83562f4d99eb7ecc4504580b43e78b3925b51a08 (plain)
1
2
3
4
5
6
7
8
const dbg = new Debugger();
const g = newGlobal();
dbg.addDebuggee(g);
dbg.memory.trackingAllocationSites = true;
g.eval("this.alloc = {}");
verifyprebarriers();
schedulegc(3);
dbg.memory.drainAllocationsLog();