Closed Bug 1664573 Opened 4 years ago Closed 4 years ago

Warp: Optimize MReturnFromCtor

Categories

(Core :: JavaScript Engine: JIT, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
83 Branch
Tracking Status
firefox83 --- fixed

People

(Reporter: iain, Assigned: jandem)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

When inlining a constructor, Ion doesn't use MReturnFromCtor when the return type is known. The idiomatic way to do this in Warp is probably to implement foldsTo for MReturnFromCtor.

Blocks: WarpBuilder
Severity: -- → N/A
Assignee: nobody → jdemooij
Status: NEW → ASSIGNED
Pushed by jdemooij@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/57a1c2600765 Add folding for MBoxNonStrictThis and MReturnFromCtor. r=anba
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 83 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: