Closed Bug 1316821 Opened 3 years ago Closed 2 days ago

Wasm baseline: Iterate across the ABIArg generator only once per call

Categories

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

enhancement

Tracking

()

RESOLVED WONTFIX

People

(Reporter: lth, Unassigned)

References

(Blocks 1 open bug)

Details

Right now we iterate twice, once for stackArgAreaSize and once for the passArg loop.  The iterator is expensive enough to show up in profiles, so it would be useful to try to reduce the number of iterations to one.  See comments in the code for more pointers.
Priority: -- → P3
Component: JavaScript Engine: JIT → Javascript: Web Assembly

As of bug 1527259, stackArgAreaSize has been refactored and moved
to the new file wasm/WasmGC.h.

Type: defect → enhancement

I think this is a lost cause, whatwith all the iteration we're doing for multi-value.

Status: NEW → RESOLVED
Closed: 2 days ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.