WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
Bug 152700
We should be able to inline super calls to InternalFunctions if we have inlined to the construction site.
https://bugs.webkit.org/show_bug.cgi?id=152700
Summary
We should be able to inline super calls to InternalFunctions if we have inlin...
Keith Miller
Reported
2016-01-04 11:13:16 PST
In general, when subclassing there is no way to know what the prototype of the created object is statically, as the new.target may change on each call. It is possible, however, if we inline to the construction site (i.e. the "new <function name>(...)" in JS) because then we might know the new.target statically.
Attachments
Add attachment
proposed patch, testcase, etc.
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