• bmeurer's avatar
    [turbofan] Extend undefined-to-number truncation to all oddballs. · 04b4df2c
    bmeurer authored
    Extends the truncation and type checks for NumberOrUndefined in
    representation selection and truncation analysis to deal with all
    oddballs not just undefined. Also extend the type hints to always
    report NumberOrOddball. This is necessary for the bitwise and shift
    operators where NUMBER feedback actually means NUMBER or ODDBALL.
    
    R=jarin@chromium.org
    
    Review-Url: https://codereview.chromium.org/2149583002
    Cr-Commit-Position: refs/heads/master@{#37711}
    04b4df2c
type-hints.cc 3.88 KB