WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
222526
[JSC] Default constructor definition is changing
https://bugs.webkit.org/show_bug.cgi?id=222526
Summary
[JSC] Default constructor definition is changing
Yusuke Suzuki
Reported
2021-02-28 00:55:50 PST
https://github.com/tc39/ecma262/pull/2216
Attachments
Add attachment
proposed patch, testcase, etc.
Yusuke Suzuki
Comment 1
2021-02-28 00:57:50 PST
https://github.com/tc39/ecma262/issues/2212
Interesting.
Yusuke Suzuki
Comment 2
2021-02-28 01:32:30 PST
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
Yusuke Suzuki
Comment 3
2021-02-28 01:59:12 PST
In this way, we can completely eliminate allocation for this default constructor, which is good ;)
Radar WebKit Bug Importer
Comment 4
2021-03-07 00:56:13 PST
<
rdar://problem/75143301
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug