[Webkit-unassigned] [Bug 187292] FunctionTraits: Make cCallArity() constant on 32-bits.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 4 03:52:22 PDT 2018


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

Yusuke Suzuki <utatane.tea at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |utatane.tea at gmail.com

--- Comment #8 from Yusuke Suzuki <utatane.tea at gmail.com> ---
Comment on attachment 344194
  --> https://bugs.webkit.org/attachment.cgi?id=344194
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=344194&action=review

> Source/WTF/wtf/FunctionTraits.h:-45
> -    ASSERT(sizeof(T) <= 4);

I think just changing this to `static_assert(sizeof(T) == 8 || sizeof(T) <= 4, "")` is enough since we have relaxed constexpr.

-- 
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/20180704/2d355c74/attachment.html>


More information about the webkit-unassigned mailing list