Reviewers: Mads Ager, Description: [Arguments] Remove arguments shadow from scopes, stop rewriting parameters.
Do not rewrite parameters in functions using the arguments object, access them directly. They are allocated to the context in preparation for capturing by the arguments object. The arguments shadow object is removed from scopes, because there is no longer any reason to preserve the original arguments object against assignments to "arguments". This change breaks the aliasing between parameters and arguments, and temporarily makes the arguments object mirror behave the same in strict and non-strict mode. Please review this at http://codereview.chromium.org/6667076/ SVN Base: https://v8.googlecode.com/svn/branches/experimental Affected files: M arguments/src/arm/codegen-arm.cc M arguments/src/arm/full-codegen-arm.cc M arguments/src/ast.h M arguments/src/hydrogen.cc M arguments/src/ia32/codegen-ia32.cc M arguments/src/ia32/full-codegen-ia32.cc M arguments/src/scopes.h M arguments/src/scopes.cc M arguments/src/variables.h M arguments/src/x64/codegen-x64.cc M arguments/src/x64/full-codegen-x64.cc -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
