Reviewers: Vyacheslav Egorov, Description: Merge r9540 and r9562 to the 3.4 branch.
r9540: Don't count duplicate assignments to the same property as distinct ones. In the ThisNamedPropertyAssignmentFinder, duplicate assignments to the same property were counted as distinct assignments. As a simple fix, subsequent ones overwrite the previously recorded assignment. This will reorder the assignments, but it is safe since they are restricted to have only constants and parameters on the right-hand side (and there are no assignments to the parameters). r9562: Add a regression test for an already fixed issue. Add a regression test for Chromium issue 99167. [email protected] BUG= TEST= Please review this at http://codereview.chromium.org/8218008/ SVN Base: https://v8.googlecode.com/svn/branches/3.4 Affected files: M src/parser.cc M src/version.cc A test/mjsunit/regress/regress-99167.js -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
