• bmeurer's avatar
    [turbofan] Properly support Number feedback for binary operators. · 8a150262
    bmeurer authored
    Previously Ignition would collect precise Number feedback for binary
    operators, but TurboFan would just ignore that and treat it the same as
    NumberOrOddball. That however generates a lot of unnecessary code, plus
    it defeats redundancy elimination if the same input is also used by
    compare operations, which do properly distinguish feedback Number and
    NumberOrOddball.
    
    This CL adds the missing bits to connect the existing functionality
    properly, i.e. adding the missing BinaryOperationHint and using the
    NumberOperationHint::kNumber in the representation selection for tagged
    inputs.
    
    R=jarin@chromium.org
    
    Review-Url: https://codereview.chromium.org/2923543003
    Cr-Commit-Position: refs/heads/master@{#45732}
    8a150262
js-operator.cc 46 KB