michael@0: // Uncompiled, polymorphic callsite for |new|. michael@0: michael@0: function Foo(prop) { michael@0: this.name = "Foo"; michael@0: this.prop = prop; michael@0: } michael@0: michael@0: function f() { michael@0: // Enter OSR here. michael@0: for (var i = 0; i < 100; i++) michael@0: { } michael@0: michael@0: // No type information below this point. michael@0: var x = new Foo("cats"); michael@0: return x; michael@0: } michael@0: michael@0: assertEq(f().prop, "cats");