Reviewers: Mads Ager, fschneider, Description: The toplevel code generator assumed that declarations did not shadow parameters. This could case the initial value to be lost or worse, a crash.
Fix by handling the case of a declaration shadowing both stack-allocated parameters and those in the arguments object. This is related to V8 issue 540. http://code.google.com/p/v8/issues/detail?id=540 Please review this at http://codereview.chromium.org/469006 SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/ Affected files: M src/arm/fast-codegen-arm.cc M src/compiler.cc M src/ia32/fast-codegen-ia32.cc M src/x64/fast-codegen-x64.cc M test/mjsunit/regress/regress-540.js -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
