Simplify behavior of code stubs that accept a variable number of stack
authormvstanton@chromium.org <mvstanton@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 13 Nov 2013 10:07:04 +0000 (10:07 +0000)
committermvstanton@chromium.org <mvstanton@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 13 Nov 2013 10:07:04 +0000 (10:07 +0000)
commit9d6dddb9aebdc26174f858c7585f363e27f828ad
tree95c1f5084d84c6e1a6344bf25fc9bc922364a3c8
parent93c6ba639b00399d21fc5b1818496f19f0febcea
Simplify behavior of code stubs that accept a variable number of stack
arguments in addition to their parameters. Before, we'd add a special
variable to the environment with the value of a register with the
number of arguments. Now, that register just appears as a parameter to
the code stub.

BUG=
R=verwaest@chromium.org

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17680 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
15 files changed:
src/arm/code-stubs-arm.cc
src/arm/deoptimizer-arm.cc
src/arm/lithium-arm.cc
src/code-stubs-hydrogen.cc
src/code-stubs.cc
src/code-stubs.h
src/deoptimizer.cc
src/deoptimizer.h
src/ia32/code-stubs-ia32.cc
src/ia32/deoptimizer-ia32.cc
src/ia32/lithium-ia32.cc
src/runtime.cc
src/x64/code-stubs-x64.cc
src/x64/deoptimizer-x64.cc
src/x64/lithium-x64.cc