Bug 113622
| Summary: | FTL should be able to handle exceptions | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Filip Pizlo <fpizlo> |
| Component: | JavaScriptCore | Assignee: | Filip Pizlo <fpizlo> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | barraclough, ggaren, mark.lam, mhahnenberg, msaboff, oliver, sam |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | All | ||
| OS: | All | ||
| Bug Depends on: | 117045, 125650, 127018, 127020 | ||
| Bug Blocks: | 112840 | ||
Filip Pizlo
FTL should be able to handle exceptions
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Filip Pizlo
The FTL can always "handle" exceptions thrown from JS functions that it calls and that the FTL itself doesn't catch. The FTL doesn't support op_catch so that's easy.
The things that need to be done are:
- Stack checks.
- Dealing with exceptions thrown by runtime functions.
Filip Pizlo
Oh, right. There's the part about slow path calls from inline caches. That will be enjoyable. https://bugs.webkit.org/show_bug.cgi?id=127020
Filip Pizlo
It's done.