[Webkit-unassigned] [Bug 160322] Undefined Behavior in JSValue cast from NaN
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jul 29 15:51:20 PDT 2016
https://bugs.webkit.org/show_bug.cgi?id=160322
--- Comment #10 from Jonathan Bedard <jbedard at apple.com> ---
Investigation of the assembly along with a brief bit of profiling confirms that some versions of clang do not fold away the cast to int check, even though PNaN is a constant. This may be because PNaN must first be passed through the bitwise_cast function.
In any case, I do think that the changes are worth making both for performance and ambiguity reasons.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160729/1820aafb/attachment.html>
More information about the webkit-unassigned
mailing list