Skip to content
Snippets Groups Projects
Commit 8a1c6c98 authored by Iain Ireland's avatar Iain Ireland
Browse files

Bug 1664357: Inline JSOp::New r=jandem

We already did the hard work to handle `this` creation for transpiling, so inlining is pretty straight-forward.

`patchInlinedReturn` needs to know whether we're calling a derived constructor to avoid repeated bailouts in `MReturnFromCtor`. I used a similar solution to what anba did here: https://phabricator.services.mozilla.com/D58785). Once Ion is gone, we could consider modifying `MReturnFromCtor` instead.

Differential Revision: https://phabricator.services.mozilla.com/D89873
parent 2a7253d1
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment