• bmeurer's avatar
    [crankshaft] Fix invalid number truncation assumption on HAdd inputs. · f576e29c
    bmeurer authored
    In Crankshaft we don't know reliably know that an HAdd might not turn
    into a string addition later (via deoptimization), so we cannot set the
    HValue::kAllowUndefinedAsNaN flag on the HAdd instruction in those
    cases. It doesn't seem to affect performance if we just remove the flag
    completely from the HAdd instruction, so let's stick to that approach
    for now.
    
    R=jarin@chromium.org
    BUG=v8:5074
    
    Review-Url: https://codereview.chromium.org/2048643002
    Cr-Commit-Position: refs/heads/master@{#36805}
    f576e29c
hydrogen-instructions.h 227 KB