Bug 113622 - FTL should be able to handle exceptions
Summary: FTL should be able to handle exceptions
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Filip Pizlo
URL:
Keywords:
Depends on: 117045 125650 127018 127020
Blocks: 112840
  Show dependency treegraph
 
Reported: 2013-03-29 16:13 PDT by Filip Pizlo
Modified: 2014-04-29 14:36 PDT (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Filip Pizlo 2013-03-29 16:13:23 PDT
FTL should be able to handle exceptions
Comment 1 Filip Pizlo 2014-01-14 16:27:58 PST
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.
Comment 2 Filip Pizlo 2014-01-14 20:08:49 PST
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
Comment 3 Filip Pizlo 2014-04-29 14:36:03 PDT
It's done.