[strong] More scoping related errors: object literal methods.
authormarja <marja@chromium.org>
Tue, 10 Mar 2015 16:47:50 +0000 (09:47 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 10 Mar 2015 16:48:07 +0000 (16:48 +0000)
commit6ad87e4f869523f2cfe048f4538dfe568ad04b5d
tree431c65f0abe9780455a15749d92d4e823ebb5989
parent9c8bead966994e54ef23389f1c7bda5a500db18b
[strong] More scoping related errors: object literal methods.

This CL adds errors for illegal references which occur inside object literal
methods inside computed properrty names.

BUG=v8:3948,v8:3956
LOG=N

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

Cr-Commit-Position: refs/heads/master@{#27118}
src/ast.h
src/code-stubs.h
src/globals.h
src/hydrogen-instructions.h
src/objects.h
src/preparser.h
src/scopes.cc
test/mjsunit/strong/declaration-after-use.js