Bug 115942

Summary: fourthTier: FTL should support Jump and ForceOSRExit
Product: WebKit Reporter: Filip Pizlo <fpizlo>
Component: JavaScriptCoreAssignee: 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:    
Bug Blocks: 112840    
Attachments:
Description Flags
work in progress
none
the patch oliver: review+

Description Filip Pizlo 2013-05-10 16:12:30 PDT
Patch forthcoming.
Comment 1 Filip Pizlo 2013-05-10 16:13:04 PDT
Created attachment 201435 [details]
work in progress

This makes v8-raytrace fail.  Will investigate why.
Comment 2 Filip Pizlo 2013-05-11 10:21:27 PDT
Created attachment 201461 [details]
the patch
Comment 3 Filip Pizlo 2013-05-11 10:22:41 PDT
Comment on attachment 201461 [details]
the patch

View in context: https://bugs.webkit.org/attachment.cgi?id=201461&action=review

> Source/JavaScriptCore/ftl/FTLCapabilities.cpp:91
> +        case Array::ForceExit:
> +            return true;

Note, this is the reason why this code was moved into a separate function: I wanted to be able to treat ForceExit as being OK immediately; and there was no easy way to do it with the way the control flow was nested previously.
Comment 4 Filip Pizlo 2013-05-11 14:07:28 PDT
Landed in http://trac.webkit.org/changeset/149941