Bug 149933

Summary: [ES6] Arrow function syntax. Implement syntactic analysis for arrow function that 'tells' if arrow function use 'this'
Product: WebKit Reporter: GSkachkov <gskachkov>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: joepeck, saam, ysuzuki
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 149338    
Bug Blocks:    

GSkachkov
Reported 2015-10-08 14:31:55 PDT
It would be nice to implement syntactic analysis for arrow function that 'tells' if arrow function use 'this'.Something similar to usesThis(). It should check if 'this' or eval is used inside of body arrow function. This property will allow to avoid unnecessary allocations, checks and emits.
Attachments
Joseph Pecoraro
Comment 1 2016-06-06 20:40:58 PDT
Is there still something that needs to be done here?
GSkachkov
Comment 2 2016-06-06 23:23:20 PDT
*** This bug has been marked as a duplicate of bug 153981 ***
GSkachkov
Comment 3 2016-06-06 23:25:07 PDT
(In reply to comment #1) > Is there still something that needs to be done here? I think we covered this issue by following: https://bugs.webkit.org/show_bug.cgi?id=153981 https://bugs.webkit.org/show_bug.cgi?id=154639 So I marked it as duplicate
Note You need to log in before you can comment on or make changes to this bug.