• rmcilroy's avatar
    [Interpreter] Add implementations of arithmetic binary op bytecodes. · b5502099
    rmcilroy authored
    Adds implementations and tests for the following bytecodes:
      - Add
      - Sub
      - Mul
      - Div
      - Mod
    
    Also adds the Mod bytecode and adds support to BytecodeGenerator and
    BytecodeArrayBuilder to enable it's use.
    
    The current bytecodes always call through to the JS builtins. This also adds
    LoadObjectField and CallJSBuiltin operators to the InterpreterAssembler.
    
    BUG=v8:4280
    LOG=N
    
    Review URL: https://codereview.chromium.org/1300813005
    
    Cr-Commit-Position: refs/heads/master@{#30352}
    b5502099
bytecode-array-builder.cc 6.09 KB