[Webkit-unassigned] [Bug 239893] New: ifdef out IPC::MessageName values that aren't applicable
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Apr 29 00:49:48 PDT 2022
https://bugs.webkit.org/show_bug.cgi?id=239893
Bug ID: 239893
Summary: ifdef out IPC::MessageName values that aren't
applicable
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebKit Process Model
Assignee: webkit-unassigned at lists.webkit.org
Reporter: heycam at apple.com
CC: kkinnunen at apple.com
IPC::isMessageNameValue's compiled code is kind of complex, since there's bunch of values that return false for particular platforms and ENABLE & USE macros. This function is called for every IPC message. We can make it cheaper by ifdefing out the values in the enum declaration too, and make the function effectively "is messageName >= 1 && messageName <= lastMessageName".
--
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/20220429/ef2e9a68/attachment.htm>
More information about the webkit-unassigned
mailing list