[Webkit-unassigned] [Bug 151586] [ES6] Propagate `this` usage from Generator's scope to GeneratorFunction's scope to avoid unnecessary `to_this` call.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 22 09:38:31 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=151586

--- Comment #2 from Yusuke Suzuki <utatane.tea at gmail.com> ---
We should follow arrow function design... Set |this| in generator function's environment and load it from the environment.
Basically, using |this| inside the generator is very rare... We can avoid loading/storing it in most cases.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170622/8f46dfab/attachment.html>


More information about the webkit-unassigned mailing list