Closed Bug 1758450 Opened 2 years ago Closed 2 years ago

Split FillArgumentArrayForExit into separate JIT/Interp cases

Categories

(Core :: JavaScript: WebAssembly, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
100 Branch
Tracking Status
firefox100 --- fixed

People

(Reporter: lth, Assigned: lth)

Details

Attachments

(1 file)

FillArgumentArrayForExit has grown organically (think "fungus") for quite a long time and is now quite tangled because it behaves fairly differently for InterpExit and JitExit. It is better to split it into two functions to clarify how things work for these use cases; we pay a little to keep the dispatch logic in sync across the two functions but gain a lot of clarity in register use, brevity, and symmetry among cases within each function.

Also, add sundry comments that clarify what's going on.

Simplify this function by splitting it into two different functions;
add various comments for clarification.

Pushed by lhansen@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/226722322ce3
Fork FillArgumentArrayForExit. r=rhunt
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 100 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: