WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 183449
172685
[JSC] Move WebCore jsDynamicDowncast mechanism to JSC
https://bugs.webkit.org/show_bug.cgi?id=172685
Summary
[JSC] Move WebCore jsDynamicDowncast mechanism to JSC
Yusuke Suzuki
Reported
2017-05-28 04:27:30 PDT
We have bunch of adhoc functions, like, isSymbol, asSymbol, isJSMap etc. We may easily miss the chance to use optimized casting. For example, jsDynamicCast<JSMap*>(vm, iterable) If we do not have a fast overloading function (checking type() == JSMapType), it falls back to the usual slow inherits() code.
Attachments
Add attachment
proposed patch, testcase, etc.
Yusuke Suzuki
Comment 1
2018-04-01 12:26:12 PDT
We already did it. *** This bug has been marked as a duplicate of
bug 183449
***
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