summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/saved-stacks/bug-1744495.js
blob: 4ce56f423530ad0c88e7af6954c59f9c209e822e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// |jit-test| --fast-warmup; --more-compartments

enableTrackAllocations()
e = function(a) {
    b = newGlobal()
    c = new b.Debugger
    return function(d, code) {
        c.addDebuggee(a)
        c.getNewestFrame().older.older.eval(code)
    }
}(this)
for (var i = 0; i < 50; i++) f()
function g() {
    e(1, "a.push0")
}
function f() {
    g()
}