Do not allow inlining functions with direct arguments access.
authorkmillikin@chromium.org <kmillikin@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 26 May 2011 10:56:07 +0000 (10:56 +0000)
committerkmillikin@chromium.org <kmillikin@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 26 May 2011 10:56:07 +0000 (10:56 +0000)
commit68e2d1bfed29560f3fd8af2ef00111f82291da7d
treeac306391d57e93f7dfa889eb78ac810c8c96003e
parent64c610727d712bc6dc5c1156321cb8a5e77d050f
Do not allow inlining functions with direct arguments access.

Our implementations of arguments without materializing the arguments
object (based on inspecting the stack frame) does not work for inlined
functions.  Guard all attempts by disallowing them if possible or else
bailing out of the optimizing compiler.

R=fschneider@chromium.org
BUG=
TEST=

Review URL: http://codereview.chromium.org/6976022

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8072 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/ast.cc
src/hydrogen.cc