Bug 146967

Summary: jsc-tailcall: Only non-constructors functions are candidate for tail calls
Product: WebKit Reporter: Basile Clement <basile_clement>
Component: JavaScriptCoreAssignee: Basile Clement <basile_clement>
Status: RESOLVED FIXED    
Severity: Enhancement CC: msaboff, saam
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 146484    
Attachments:
Description Flags
Patch none

Basile Clement
Reported 2015-07-15 10:18:29 PDT
We were emitting tail calls at the Program / Script level (which is weird but probably inconsequential) and in ES6 constructors (which is completely wrong and semantics-breaking). Patch forthcoming.
Attachments
Patch (3.26 KB, patch)
2015-07-15 10:29 PDT, Basile Clement
no flags
Basile Clement
Comment 1 2015-07-15 10:29:51 PDT
Saam Barati
Comment 2 2015-07-15 10:37:18 PDT
Comment on attachment 256845 [details] Patch Looks good to me.
Basile Clement
Comment 3 2015-07-15 10:43:41 PDT
Committed r186848 <http://trac.webkit.org/changeset/186848> on branch jsc-tailcall.
Csaba Osztrogonác
Comment 4 2015-09-14 10:57:04 PDT
Comment on attachment 256845 [details] Patch Cleared review? from attachment 256845 [details] so that this bug does not appear in http://webkit.org/pending-review. If you would like this patch reviewed, please attach it to a new bug (or re-open this bug before marking it for review again).
Note You need to log in before you can comment on or make changes to this bug.