[interpreter]: Changes to interpreter builtins for accumulator and register file...
authorrmcilroy <rmcilroy@chromium.org>
Tue, 18 Aug 2015 12:41:41 +0000 (05:41 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 18 Aug 2015 12:41:58 +0000 (12:41 +0000)
commit00df60d1c6943a10fb5ca84fce2c017dcd2001f5
tree87b307a641da850bf99c9574b3a9e0a81d2b01e2
parent8aef442917e82491f0fc66426f71f865353d94e2
[interpreter]: Changes to interpreter builtins for accumulator and register file registers.

Makes the following modifications to the interpreter builtins and
InterpreterAssembler:
 - Adds an accumulator register and initializes it to undefined()
 - Adds a register file pointer register and use it instead of FramePointer to
   access registers
 - Modifies builtin to support functions with 0 regiters in the register file
 - Modifies builtin to Call rather than TailCall to first bytecode handler.

BUG=v8:4280
LOG=N

Review URL: https://codereview.chromium.org/1289863003

Cr-Commit-Position: refs/heads/master@{#30219}
24 files changed:
src/arm/builtins-arm.cc
src/arm/macro-assembler-arm.h
src/arm64/builtins-arm64.cc
src/arm64/macro-assembler-arm64.h
src/compiler/interpreter-assembler.cc
src/compiler/interpreter-assembler.h
src/compiler/linkage.cc
src/compiler/linkage.h
src/compiler/raw-machine-assembler.cc
src/compiler/raw-machine-assembler.h
src/ia32/builtins-ia32.cc
src/ia32/macro-assembler-ia32.h
src/mips/builtins-mips.cc
src/mips/macro-assembler-mips.h
src/mips64/assembler-mips64.h
src/mips64/builtins-mips64.cc
src/mips64/macro-assembler-mips64.h
src/x64/builtins-x64.cc
src/x64/macro-assembler-x64.h
test/cctest/interpreter/test-interpreter.cc
test/unittests/compiler/interpreter-assembler-unittest.cc
test/unittests/compiler/interpreter-assembler-unittest.h
test/unittests/compiler/node-test-utils.cc
test/unittests/compiler/node-test-utils.h