[interpreter] Add Interpreter{Entry,Exit}Trampoline builtins.
authorrmcilroy <rmcilroy@chromium.org>
Thu, 30 Jul 2015 11:36:26 +0000 (04:36 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 30 Jul 2015 11:36:43 +0000 (11:36 +0000)
commitc5dd553cf3a44cd8c17958a595198b5ea9492cd0
tree29e066d1c4e393fd8b513dd89af8dbbaec2a83b3
parent7a172d54ba1e17fc12cb3a54ca83e39dd3b60ef8
[interpreter] Add Interpreter{Entry,Exit}Trampoline builtins.

Adds interpreter entry and exit trampoline builtins. Also implements the
Return bytecode handler and fixes a few bugs in InterpreterAssembler
highlighted by running on other architectures.

MIPS and MIPS64 port contributed by Paul Lind (paul.lind@imgtec.com)

BUG=v8:4280
LOG=N

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

Cr-Commit-Position: refs/heads/master@{#29929}
26 files changed:
src/arm/builtins-arm.cc
src/arm/macro-assembler-arm.h
src/arm64/assembler-arm64.h
src/arm64/builtins-arm64.cc
src/bailout-reason.h
src/builtins.h
src/compiler/arm/linkage-arm.cc
src/compiler/arm64/linkage-arm64.cc
src/compiler/interpreter-assembler.cc
src/compiler/interpreter-assembler.h
src/compiler/mips/linkage-mips.cc
src/compiler/mips64/linkage-mips64.cc
src/compiler/raw-machine-assembler.h
src/compiler/x64/linkage-x64.cc
src/full-codegen/arm/full-codegen-arm.cc
src/heap/heap.cc
src/ia32/builtins-ia32.cc
src/interpreter/interpreter.cc
src/mips/assembler-mips.h
src/mips/builtins-mips.cc
src/mips64/assembler-mips64.h
src/mips64/builtins-mips64.cc
src/x64/builtins-x64.cc
test/unittests/compiler/interpreter-assembler-unittest.cc
test/unittests/compiler/node-test-utils.cc
test/unittests/compiler/node-test-utils.h