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: | JavaScriptCore | Assignee: | 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
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Joseph Pecoraro
Is there still something that needs to be done here?
GSkachkov
*** This bug has been marked as a duplicate of bug 153981 ***
GSkachkov
(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