Closed Bug 988993 Opened 6 years ago Closed 6 years ago

Ion-compile scripts containing arrow functions

Categories

(Core :: JavaScript Engine: JIT, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla31

People

(Reporter: jandem, Assigned: jandem)

References

Details

Attachments

(1 file)

Right now IonBuilder aborts if we have a JSOP_LAMDBA for an arrow function. Fix coming up.
Depends on: 989011
Attached patch PatchSplinter Review
Adds MLambdaArrow, just like MLambda, except that it takes the lexical |this| value and stores it in the clone's extended slot.
Attachment #8403464 - Flags: review?(bhackett1024)
Attachment #8403464 - Flags: review?(bhackett1024) → review+
And FWIW, green Linux x64 Try run: https://tbpl.mozilla.org/?tree=Try&rev=65f18e6af1bf
https://hg.mozilla.org/mozilla-central/rev/5e5711c0cc1d
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla31
Depends on: 999358
You need to log in before you can comment on or make changes to this bug.