blob: 2693029caa76340766b1475e24119d38ef8f6099 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// |jit-test| slow
/* Make a lot of functions of the form:
function x1(){x1();}
function x2(){x2();}
function x3(){x3();}
...
*/
var g = newGlobal({newCompartment: true});
var dbg = new g.Debugger(this);
var s = '';
for (var i = 0; i < 70000; i++) {
s += 'function x' + i + '() { x' + i + '(); }\n';
}
s += 'pc2line(1);\n'
evaluate(s);
|