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.
<rdar://problem/44473828>
Created attachment 349926 [details] proposed patch. Perf appears to be neutral. Let's get some EWS testing.
Created attachment 349929 [details] x86_64 benchmark results.
Comment on attachment 349926 [details] proposed patch. Attachment 349926 [details] did not pass mac-debug-ews (mac): Output: https://webkit-queues.webkit.org/results/9247414 Number of test failures exceeded the failure limit.
Created attachment 349945 [details] Archive of layout-test-results from ews117 for mac-sierra The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews117 Port: mac-sierra Platform: Mac OS X 10.12.6