• oth's avatar
    [interpreter] Introduce binary op bytecodes for Smi operand. · 40511877
    oth authored
    Introduces fused bytecodes for fusing LdaSmi followed by a binary op bytecode.
    The chosen bytecodes are used frequently in Octane: AddSmi, SubSmi,
    BitwiseOrSmi, BitwiseAndSmi, ShiftLeftSmi, ShiftRightSmi.
    
    There are additional code stubs for these operations that are biased towards
    both the left hand and right hand operands being Smis.
    
    BUG=v8:4280
    LOG=N
    
    Review-Url: https://codereview.chromium.org/2111923002
    Cr-Commit-Position: refs/heads/master@{#37531}
    40511877
bytecode-array-iterator-unittest.cc 11.9 KB