[Webkit-unassigned] [Bug 166665] Super property access in base class constructor doesn't work

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jan 14 11:11:07 PST 2017


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

Yusuke Suzuki <utatane.tea at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #298851|review?                     |review+
              Flags|                            |

--- Comment #4 from Yusuke Suzuki <utatane.tea at gmail.com> ---
Comment on attachment 298851
  --> https://bugs.webkit.org/attachment.cgi?id=298851
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=298851&action=review

r=me with comment.

> Source/JavaScriptCore/bytecompiler/NodesCodegen.cpp:3777
> +    emitPutHomeObject(generator, constructor.get(), prototype.get());

Can we avoid always putting this home object here?
I think we can avoid it if the constructor does not have super reference (and of course, arrow func using super etc...).
If we can do that, please add FIXME with bug URL here.

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


More information about the webkit-unassigned mailing list