Closed Bug 1212247 Opened 9 years ago Closed 9 years ago

Some arrow functions are not jitted (IonAbort) because of JSOP_THIS

Categories

(Core :: JavaScript Engine: JIT, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 922406

People

(Reporter: lth, Unassigned)

References

Details

Consider this: function f(g) { return g(); } f(() => ({ hi: "ho" })); Run with IONFLAGS=aborts and --ion-eager: [IonAbort] JSOP_THIS outside of a JSFunction. [IonAbort] aborted @ /Users/lhansen/moz/arrow.js:5 [IonAbort] Disabling Ion compilation of script /Users/lhansen/moz/arrow.js:1 If I replace the arrow function with a regular function expression the abort goes away. I have not looked deeper than this (yet).
This is bug 922406; defining an arrow function requires a JSOP_THIS for the lexical `this` binding.
Depends on: 922406
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.