michael@0: // |jit-test| error:ReferenceError michael@0: michael@0: // Binary: cache/js-dbg-32-55f463c562d4-linux michael@0: // Flags: -m -n -a michael@0: // michael@0: o3 = evalcx("split") michael@0: function f3(o) { michael@0: try { michael@0: new o michael@0: } catch(e) {} michael@0: } michael@0: function f16(o) { michael@0: Object.getOwnPropertyNames(o); michael@0: o.__defineGetter__("prototype", function() {}) michael@0: } michael@0: for (;;) { michael@0: new f3(o3); michael@0: f16(o3) michael@0: }