Closed Bug 755560 Opened 12 years ago Closed 12 years ago

IonMonkey: Assertion failure: isObject(), at ../../jsapi.h:509

Categories

(Core :: JavaScript Engine, defect)

Other Branch
x86_64
Linux
defect
Not set
major

Tracking

()

RESOLVED FIXED

People

(Reporter: decoder, Assigned: dvander)

References

Details

(Keywords: assertion, testcase)

Attachments

(1 file)

The following testcase asserts on ionmonkey revision 50177d59c0e1 (run with --ion -n -m):


function Employee ( name, dept ) {
  this.name=name || ""
}
function WorkerBee ( name, dept, projs ) {}
var SECTION = "toString-001.js";
while ( SECTION , this) 
WorkerBee.prototype = new Employee();
This is another bug masked by the OSR changes made recently. Taking.
Assignee: general → dvander
Status: NEW → ASSIGNED
Attached patch fixSplinter Review
Turns out this can be called in the middle of js::StackFrame construction, so thisv can be JSVAL_NULL.
Attachment #624601 - Flags: review?(nicolas.b.pierron)
Attachment #624601 - Flags: review?(nicolas.b.pierron) → review+
http://hg.mozilla.org/projects/ionmonkey/rev/a19d34d6750f
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.