Make invalid LHSs that are calls late errors
authorrossberg@chromium.org <rossberg@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 2 Apr 2014 11:03:05 +0000 (11:03 +0000)
committerrossberg@chromium.org <rossberg@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 2 Apr 2014 11:03:05 +0000 (11:03 +0000)
commit45118bfdfbf4ce1e0794b6bd616acf948f36c941
treed42e4a5d63a7f65b0b7764cf89442b973c611a6a
parentfec195573c3ea7303984a1b4d1fae9309373558b
Make invalid LHSs that are calls late errors

Necessary for web legacy compatibility.

Also fold in additional strict mode checks into LHS checks.
Minor constness clean-ups on the way.

R=marja@chromium.org
BUG=chromium:358346
LOG=Y

Review URL: https://codereview.chromium.org/217823003

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20428 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
17 files changed:
src/arm/full-codegen-arm.cc
src/arm64/full-codegen-arm64.cc
src/ast.cc
src/ast.h
src/heap.h
src/ia32/full-codegen-ia32.cc
src/parser.cc
src/parser.h
src/preparser.cc
src/preparser.h
src/variables.cc
src/variables.h
src/x64/full-codegen-x64.cc
test/cctest/test-parsing.cc
test/mjsunit/invalid-lhs.js
test/webkit/fast/js/modify-non-references-expected.txt
test/webkit/fast/js/modify-non-references.js