Bug 297311

Summary: Consolidate Wasm arguments iterator offlineasm macros.
Product: WebKit Reporter: Mark Lam <mark.lam>
Component: New BugsAssignee: Mark Lam <mark.lam>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Mark Lam
Reported 2025-08-12 21:13:02 PDT
There are currently many variations of macros whose purpose is to iterate the Wasm argument registers. These iterators were also trying to compute offsets in memory where the registers will be stored. We can simplify these into only 2 macros: forEachWasmArgumentGPR and forEachWasmArgumentFPR, by reducing their role to simply iterating the registers. We'll let their client fully define how they place the registers in memory instead.
Attachments
Radar WebKit Bug Importer
Comment 1 2025-08-12 21:13:32 PDT
Mark Lam
Comment 2 2025-08-12 21:40:21 PDT
EWS
Comment 3 2025-08-13 10:56:07 PDT
Committed 298634@main (a525a0af18c9): <https://commits.webkit.org/298634@main> Reviewed commits have been landed. Closing PR #49312 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.