Bug 170440

Summary: Slightly change the JSC exception handling calling convention to remove the terrible hack that wasm uses to stick a Cell into the call frame
Product: WebKit Reporter: Saam Barati <saam>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: benjamin, fpizlo, ggaren, gskachkov, jfbastien, keith_miller, mark.lam, msaboff, ticaiolima, ysuzuki
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Saam Barati
Reported 2017-04-03 21:46:34 PDT
Wasm will put a JSCell into the callee just so the code that catches an exception can get the VM from the callee. However, this is a hack. Instead, we could just make the thing that jumps to exception handling code location load vm.callFrameForCatch into the call frame register before jumping to the exception handling code.
Attachments
Note You need to log in before you can comment on or make changes to this bug.