Bug 252605
| Summary: | Support WebAssembly exception handling in BBQ baseline JIT | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | David Degazio <d_degazio> |
| Component: | WebAssembly | Assignee: | David Degazio <d_degazio> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | Keywords: | InRadar |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Bug Depends on: | |||
| Bug Blocks: | 252209 | ||
David Degazio
rdar://105692614
Currently, the new BBQ baseline JIT for WebAssembly only supports throwing a few niche exceptions, for traps like unreachable instructions or dividing by zero. We need to implement the full WASM exception handling extension (https://github.com/WebAssembly/exception-handling/blob/main/proposals/exception-handling/Exceptions.md) for parity with the existing Air backend.
Specifically, this entails implementing the following instructions:
- `try`
- `catch`
- `catch_all`
- `throw`
- `rethrow`
- `delegate`
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
David Degazio
*** This bug has been marked as a duplicate of bug 252959 ***