• Milad Fa's avatar
    PPC: [cleanup] Replace all remaining Min/Max uses with std::min/max · f290177f
    Milad Fa authored
    Port 3836aeb0
    
    Original Commit Message:
    
        Apart from removing Min and Max (utils.h), this is mostly a renaming.
    
        In a few cases I had to add a cast. In a bunch of cases I had to use
        initializer lists to force call-by-value for static member constants
        because call-by-reference wouldn't compile (like in the previous CL).
        In a few places I used initializer lists in place of nested min/max
        operations.
    
    R=neis@chromium.org, joransiu@ca.ibm.com, junyan@redhat.com, midawson@redhat.com
    BUG=
    LOG=N
    
    Change-Id: Iecb43c19b8e16721e942553d7d811daf74bedc02
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2557570
    Commit-Queue: Georg Neis <neis@chromium.org>
    Reviewed-by: 's avatarGeorg Neis <neis@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#71396}
    f290177f
test-constantpool.cc 7.14 KB