michael@0: // |jit-test| slow; debug michael@0: michael@0: /* Make a lot of functions of the form: michael@0: function x1(){x1();} michael@0: function x2(){x2();} michael@0: function x3(){x3();} michael@0: ... michael@0: */ michael@0: michael@0: var s = ''; michael@0: for (var i = 0; i < 70000; i++) { michael@0: s += 'function x' + i + '() { x' + i + '(); }\n'; michael@0: } michael@0: s += 'trap(0); pc2line(1);\n' michael@0: evaluate(s);