bug925067-3.js (280B)
1 // |jit-test| error: 4 2 function h(o) { 3 o.next(); 4 } 5 function g(o) { 6 for (var i=0; i<5; i++) {}; 7 if (o.x >= 0) { 8 for(;;) 9 h(o); 10 } 11 return o.x; 12 } 13 function f() { 14 var o = {x: 0, next: function() { 15 if (this.x++ > 100) 16 throw 4; 17 }}; 18 g(o); 19 } 20 f();