summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug1127303.js
blob: 078b4477c2f9fb5457822c5d941e4859f4dbc97b (plain)
1
2
3
4
5
6
7
8
9
function test1() {}
function test() { test1.call(this); }
var length = 30 * 1024 - 1;
var obj = new test();
for(var i = 0 ; i < length ; i++) {
  obj.next = new (function  (   )  {  }  )  ();
  obj = obj.next;
}