Merged r13386 into 3.14 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/11871012

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