blob: e6be4d059715a7e456ef63ce17ef57c4f45257ab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// |jit-test| --fast-warmup; --no-threads
function foo(n) {
with ({}) {}
if (n == 9) {
enableTrackAllocations();
var g = newGlobal({newCompartment: true});
var dbg = g.Debugger(this);
dbg.getNewestFrame().older;
}
}
for (var i = 0; i < 10; i++) {
for (var j = 0; j < 20; j++) {}
foo(i);
}
|