[Webkit-unassigned] [Bug 187292] FunctionTraits: Make cCallArity() constant on 32-bits.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jul 4 04:13:02 PDT 2018
https://bugs.webkit.org/show_bug.cgi?id=187292
--- Comment #9 from Guillaume Emont <guijemont at igalia.com> ---
(In reply to Yusuke Suzuki from comment #8)
> Comment on attachment 344194 [details]
> 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.
Indeed it is much simpler. I am sorry I did not know about relaxed constexpr. New patch upcoming.
--
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/252c73e5/attachment.html>
More information about the webkit-unassigned
mailing list