Merged r13386 into 3.15 branch.

Fix arguments materialization for inlined apply().

R=danno@chromium.org
BUG=v8:2489
TEST=mjsunit/regress/regress-2489

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

git-svn-id: https://v8.googlecode.com/svn/branches/3.15@13423 ce2b1a6d-e550-0410-aec6-3dcde31c8c00