Fix a duplicate AST ID recorded for for/in.
authorkmillikin@chromium.org <kmillikin@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 14 Feb 2011 12:51:25 +0000 (12:51 +0000)
committerkmillikin@chromium.org <kmillikin@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 14 Feb 2011 12:51:25 +0000 (12:51 +0000)
commitc73ce4f12625d40b14d32b8ab2858c74b9a87bec
tree01670146d35aac2b4ba550f52a989118e5225e07
parent7dd0cc2db65c076daef8096bacd82b7fc1dff281
Fix a duplicate AST ID recorded for for/in.

Avoid visiting the subexpressions of a variable that rewrites to a property
when occurring as the 'left-hand side' of for/in.

BUG=v8:1149

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@6772 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/arm/full-codegen-arm.cc
src/ia32/full-codegen-ia32.cc
src/x64/full-codegen-x64.cc
test/mjsunit/regress/regress-1149.js [new file with mode: 0644]