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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 17 11:49:37 PST 2017


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

--- Comment #7 from GSkachkov <gskachkov at gmail.com> ---
(In reply to comment #4)
> Comment on attachment 298851 [details]
> 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.

I did small refactoring and implement checking if super used inside of the constructor

-- 
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/20170117/e4a4aaa8/attachment.html>


More information about the webkit-unassigned mailing list