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: | JavaScriptCore | Assignee: | 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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |