Bug 149933 - [ES6] Arrow function syntax. Implement syntactic analysis for arrow function that 'tells' if arrow function use 'this'
Summary: [ES6] Arrow function syntax. Implement syntactic analysis for arrow function ...
Status: RESOLVED DUPLICATE of bug 153981
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on: 149338
Blocks:
  Show dependency treegraph
 
Reported: 2015-10-08 14:31 PDT by GSkachkov
Modified: 2016-06-06 23:25 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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