<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Super property access in base class constructor doesn't work"
href="https://bugs.webkit.org/show_bug.cgi?id=166665#c7">Comment # 7</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Super property access in base class constructor doesn't work"
href="https://bugs.webkit.org/show_bug.cgi?id=166665">bug 166665</a>
from <span class="vcard"><a class="email" href="mailto:gskachkov@gmail.com" title="GSkachkov <gskachkov@gmail.com>"> <span class="fn">GSkachkov</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=166665#c4">comment #4</a>)
<span class="quote">> Comment on <span class="bz_obsolete"><a href="attachment.cgi?id=298851&action=diff" name="attach_298851" title="Patch">attachment 298851</a> <a href="attachment.cgi?id=298851&action=edit" title="Patch">[details]</a></span>
> Patch
>
> View in context:
> <a href="https://bugs.webkit.org/attachment.cgi?id=298851&action=review">https://bugs.webkit.org/attachment.cgi?id=298851&action=review</a>
>
> 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.</span >
I did small refactoring and implement checking if super used inside of the constructor</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>