michael@0: // PIC on CALLPROP invoking getter hook. michael@0: michael@0: function foo(arr) { michael@0: for (var i = 0; i < 100; i++) michael@0: arr[i].caller(false); michael@0: } michael@0: arr = Object.create(Object.prototype); michael@0: first = Object.create({}); michael@0: first.caller = bar; michael@0: second = Object.create({}); michael@0: second.caller = bar; michael@0: for (var i = 0; i < 100; ) michael@0: arr[i++] = foo; michael@0: foo.caller; michael@0: function bar(x) { michael@0: if (x) michael@0: foo(arr); michael@0: } michael@0: bar(true);