Reviewers: Michael Starzinger, oth,

Message:
Michael / Orion, could you please take a look, thanks.

Description:
[Interpreter] Add implementations of arithmetic binary op bytecodes.

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

Please review this at https://codereview.chromium.org/1300813005/

Base URL: https://chromium.googlesource.com/v8/v8.git@mstar_v8h

Affected files (+310, -17 lines):
  M src/compiler/interpreter-assembler.h
  M src/compiler/interpreter-assembler.cc
  M src/compiler/raw-machine-assembler.h
  M src/compiler/raw-machine-assembler.cc
  M src/interpreter/bytecode-array-builder.cc
  M src/interpreter/bytecodes.h
  M src/interpreter/interpreter.h
  M src/interpreter/interpreter.cc
  M test/cctest/interpreter/test-interpreter.cc
  M test/unittests/compiler/instruction-selector-unittest.cc
  M test/unittests/compiler/interpreter-assembler-unittest.cc
  M test/unittests/compiler/node-test-utils.h
  M test/unittests/compiler/node-test-utils.cc
  M test/unittests/interpreter/bytecode-array-builder-unittest.cc


--
--
v8-dev mailing list
v8-dev@googlegroups.com
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to