Closed Bug 811561 Opened 12 years ago Closed 12 years ago

IonMonkey: Differential Testing: Getting TypeError: 'prototype' property of <function> is not an object

Categories

(Core :: JavaScript Engine, defect)

x86_64
Linux
defect
Not set
critical

Tracking

()

RESOLVED FIXED

People

(Reporter: decoder, Unassigned)

References

Details

(Keywords: regression, testcase)

The following testcase shows different behavior with options ---ion-eager vs. no options on m-c revision 1b0226622e94:


function InstanceOf( object_1, object_2, expect )
  result = object_1 instanceof object_2;
function GenB(value) {}
GenB.prototype = void 0;
InstanceOf(new GenB(), GenB);


$ debug64/js --ion-eager test.js
<no output or error>


$ debug64/js test.js
test.js:2:0 TypeError: 'prototype' property of function GenB(value) {} is not an object
I am not seeing this.
autoBisect shows this is probably related to the following changeset:

The first good revision is:
changeset:   114177:d3ed5864b6eb
user:        Nicolas B. Pierron
date:        Mon Nov 26 19:08:37 2012 -0800
summary:     Bug 814177 - Use a callVM for generic InstanceOf cases. r=dvander

Assuming fixed by bug 814177.
Status: NEW → RESOLVED
Closed: 12 years ago
Flags: in-testsuite?
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.