Bug 170440 - Slightly change the JSC exception handling calling convention to remove the terrible hack that wasm uses to stick a Cell into the call frame
Summary: Slightly change the JSC exception handling calling convention to remove the t...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-03 21:46 PDT by Saam Barati
Modified: 2017-04-03 21:46 PDT (History)
10 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Saam Barati 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.