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:    

Description GSkachkov 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.
Comment 1 Joseph Pecoraro 2016-06-06 20:40:58 PDT
Is there still something that needs to be done here?
Comment 2 GSkachkov 2016-06-06 23:23:20 PDT

*** This bug has been marked as a duplicate of bug 153981 ***
Comment 3 GSkachkov 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