• bmeurer's avatar
    [crankshaft] Re-add fast-case for string add left/right. · d261849e
    bmeurer authored
    Now the StringAddStub can optionally convert it's parameters to strings
    (following the rules for the addition operator). This could be further
    optimized once we have a ToPrimitiveStub, but it should be sufficient
    for the moment.
    
    Also removed the unused Strength parameter to the HStringAdd operator,
    because string addition does not depend on language mode.
    
    CQ_INCLUDE_TRYBOTS=tryserver.v8:v8_win_nosnap_shared_rel,v8_linux_nosnap_dbg
    R=mstarzinger@chromium.org
    BUG=v8:4307
    LOG=n
    
    Review URL: https://codereview.chromium.org/1339053002
    
    Cr-Commit-Position: refs/heads/master@{#30726}
    d261849e
code-stubs.cc 29.9 KB