Bug 302877

Summary: In IPInt calls, save the pointer to first non-arg stack slot as a frame-relative value
Product: WebKit Reporter: Vassili Bykov <v_bykov>
Component: JavaScriptCoreAssignee: Vassili Bykov <v_bykov>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Vassili Bykov
Reported 2025-11-20 10:17:35 PST
As part of the call sequence, IPInt computes the address of the first non-argument Wasm stack slot and stores it on the stack to use after the call while pushing the call return values. To simplify JSPI implementation, we should store the address as a value relative to the frame pointer, so stack data can be easily moved to a different address.
Attachments
Radar WebKit Bug Importer
Comment 1 2025-11-20 10:17:41 PST
Vassili Bykov
Comment 2 2025-11-20 11:06:33 PST
EWS
Comment 3 2025-11-20 15:38:53 PST
Committed 303359@main (fbfeafe1da84): <https://commits.webkit.org/303359@main> Reviewed commits have been landed. Closing PR #54260 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.