[Webkit-unassigned] [Bug 172685] New: [JSC] Move WebCore jsDynamicDowncast mechanism to JSC

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun May 28 04:27:30 PDT 2017


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

            Bug ID: 172685
           Summary: [JSC] Move WebCore jsDynamicDowncast mechanism to JSC
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: utatane.tea at gmail.com

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.

-- 
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/20170528/25f5e7d7/attachment-0001.html>


More information about the webkit-unassigned mailing list