• Leszek Swirski's avatar
    [compiler] Remove static init for kMinusZeroBits · caaaeceb
    Leszek Swirski authored
    Chromium has checks which don't like static initializers in binaries,
    which fires on effect_control_linearizer.cc. We can remove these by
    making kMinusZeroBits (and family) constexpr, but to do this we have to
    avoid bit_cast. Instead, set the correct bit pattern manually (thankfully
    IEEE 754 0.0 is just zero bits, and -0.0 is 0.0 with a set sign bit).
    
    Change-Id: If1695ff715ad8f821e956757f8f9f7c850895011
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1762009
    Commit-Queue: Leszek Swirski <leszeks@chromium.org>
    Commit-Queue: Tobias Tebbi <tebbi@chromium.org>
    Reviewed-by: 's avatarTobias Tebbi <tebbi@chromium.org>
    Auto-Submit: Leszek Swirski <leszeks@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#63266}
    caaaeceb
effect-control-linearizer.cc 215 KB