[Interpreter] Add support for parameter variables.
authorrmcilroy <rmcilroy@chromium.org>
Thu, 27 Aug 2015 10:32:26 +0000 (03:32 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 27 Aug 2015 10:32:39 +0000 (10:32 +0000)
commit5d975694e4d3ecf66716cc5395d4d10c9730f9dd
tree00edbbf0cd65237849d0e54f7971c4f936cd7e52
parentb42c4459e64bb8afff40917ed5df1cd1edc6642b
[Interpreter] Add support for parameter variables.

Adds support for parameters to the BytecodeArrayBuilder and BytecodeGenerator.
Parameters are accessed as negative interpreter registers.

BUG=v8:4280
LOG=N

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

Cr-Commit-Position: refs/heads/master@{#30403}
21 files changed:
src/arm/builtins-arm.cc
src/arm64/builtins-arm64.cc
src/factory.cc
src/factory.h
src/frames.h
src/heap/heap.cc
src/heap/heap.h
src/ia32/builtins-ia32.cc
src/interpreter/bytecode-array-builder.cc
src/interpreter/bytecode-array-builder.h
src/interpreter/bytecode-generator.cc
src/mips/builtins-mips.cc
src/mips64/builtins-mips64.cc
src/objects-inl.h
src/objects.cc
src/objects.h
src/x64/builtins-x64.cc
test/cctest/interpreter/test-bytecode-generator.cc
test/cctest/interpreter/test-interpreter.cc
test/cctest/test-heap.cc
test/unittests/interpreter/bytecode-array-builder-unittest.cc