[Webkit-unassigned] [Bug 189637] New: The BytecodeGenerator should not waste time calling emitDebugHook() when the debugger is off.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 14 16:48:29 PDT 2018


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

            Bug ID: 189637
           Summary: The BytecodeGenerator should not waste time calling
                    emitDebugHook() when the debugger is off.
           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: mark.lam at apple.com

emitDebugHook() will always check BytecodeGenerator::m_shouldEmitDebugHooks and return early anyway.  We can cut this code path off earlier, and save a bunch of calls.

-- 
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/20180914/3a8315d7/attachment-0001.html>


More information about the webkit-unassigned mailing list