IonMonkey: don't crash when scripts are invalidated during compilation

RESOLVED FIXED

Status

()

Core
JavaScript Engine
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: jandem, Assigned: dvander)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

6 years ago
Atm we crash since the Ion script is NULL. The easiest fix is probably to check whether the script has been invalidated after compilation, like JM.
(Assignee)

Comment 1

6 years ago
Created attachment 584615 [details] [diff] [review]
fix

There is another crash after this one, but this gets rid of an assert that AutoIonContextAlloc can't nest.
Assignee: general → dvander
Status: NEW → ASSIGNED
Attachment #584615 - Flags: review?(jdemooij)
(Reporter)

Updated

6 years ago
Attachment #584615 - Flags: review?(jdemooij) → review+
(Assignee)

Comment 2

6 years ago
http://hg.mozilla.org/projects/ionmonkey/rev/feb16cca7241
Status: ASSIGNED → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.