[turbofan] Make %Arguments composable with inlining.
authormstarzinger <mstarzinger@chromium.org>
Wed, 9 Sep 2015 14:14:01 +0000 (07:14 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 9 Sep 2015 14:14:18 +0000 (14:14 +0000)
commita504a184f64a97aa75213649b1fcad2b5a60910a
tree1fa5d37af706620fdfcac378123fcaaca0162899
parentda830b0eaa809739e5d76887858977b108f90abd
[turbofan] Make %Arguments composable with inlining.

This makes the C++ fallback implementations for the two intrinsics,
%Arguments and %ArgumentsLength composable with respect to inlining.
Using deoptimization information gives us accurate data here.

R=bmeurer@chromium.org
TEST=mjsunit/regress/regress-4374
BUG=v8:4374
LOG=n

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

Cr-Commit-Position: refs/heads/master@{#30654}
src/compiler/linkage.cc
src/runtime/runtime-classes.cc
src/runtime/runtime-function.cc
src/runtime/runtime-scopes.cc
src/runtime/runtime.h
test/mjsunit/regress/regress-4374.js [new file with mode: 0644]