[Webkit-unassigned] [Bug 217585] REGRESSION(r267727): Warning spam from JSC_DECLARE_CUSTOM_GETTER

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Oct 11 14:36:10 PDT 2020


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

--- Comment #2 from Michael Catanzaro <mcatanzaro at gnome.org> ---
I considered remove WTF_INTERNAL from JSC_DECLARE_JIT_OPERATION and ensuring all uses are static, but it's not possible because it is frequently used in header files. It should only be static when used in .cpp files. Current usage appears to be correct.

So I decided to split JSC_DECLARE_JIT_OPERATION into two versions, the current one that uses WTF_INTERNAL, and JSC_DECLARE_JIT_OPERATION_WITHOUT_WTF_INTERNAL one that doesn't. That is not a great name, but it's only used in a couple places, so I guess that's OK. JSC_DECLARE_CUSTOM_GETTER and JSC_DECLARE_CUSTOM_SETTER use this new version, since those are only used in static declarations in .cpp files. JSDollarVM.cpp also needs the version without the WTF_INTERNAL. All other users can continue to use original JSC_DECLARE_JIT_OPERATION with WTF_INTERNAL.

-- 
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/20201011/419ded89/attachment-0001.htm>


More information about the webkit-unassigned mailing list