michael@0: // GETPROP PIC with multiple stubs containing getter hooks. michael@0: michael@0: function foo(arr) { michael@0: for (var i = 0; i < 100; i++) michael@0: arr[i].caller; michael@0: } michael@0: arr = Object.create(Object.prototype); michael@0: first = Object.create({}); michael@0: first.caller = null; michael@0: second = Object.create({}); michael@0: second.caller = null; michael@0: for (var i = 0; i < 100; ) { michael@0: arr[i++] = first; michael@0: arr[i++] = foo; michael@0: arr[i++] = second; michael@0: } michael@0: foo.caller; michael@0: foo(arr);