[Webkit-unassigned] [Bug 222526] [JSC] Default constructor definition is changing

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Feb 28 01:32:30 PST 2021


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

--- Comment #2 from Yusuke Suzuki <ysuzuki at apple.com> ---
We should introduce @tailConstructForwardArguments.

function()
{
    return @tailConstructForwardArguments(@getPrototypeOf(@callee)), this);
}

Why can it happen?
We do not need to check |this| when finishing this constructor since

1. we can ensure that we are always calling the super
2. we can ensure that we call super only once

-- 
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/20210228/59a5c1df/attachment.htm>


More information about the webkit-unassigned mailing list