michael@0: // |jit-test| slow; error:InternalError michael@0: michael@0: // Binary: cache/js-dbg-64-c61e7c3a232a-linux michael@0: // Flags: -m -n -a michael@0: // michael@0: michael@0: gczeal(2); michael@0: function testCallProtoMethod() { michael@0: function X() { michael@0: this.valueOf = new testCallProtoMethod( "return this.value" ); michael@0: } michael@0: X.prototype.getName = function () { return "X"; } michael@0: var a = [new X, new X, new getName, new new this, new Y]; michael@0: } michael@0: testCallProtoMethod();