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