[Webkit-unassigned] [Bug 162503] New: [Binding] setDOMException should be inlined and fall to the slow path if exception occurs

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 23 12:35:23 PDT 2016


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

            Bug ID: 162503
           Summary: [Binding] setDOMException should be inlined and fall
                    to the slow path if exception occurs
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Bindings
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: utatane.tea at gmail.com
                CC: cdumez at apple.com

setDOMException is not inlined in binding function.
Since exception rarely occurs, we should inline setDOMException like this.

inline setDOMException()
{
    if (LIKELY(error does not occur))
       return;
    setDOMExceptionSlow();  // never inline.
}

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160923/8f0f2e8a/attachment-0001.html>


More information about the webkit-unassigned mailing list