[strong] Simplify the classes-referring-to-classes check.
authormarja <marja@chromium.org>
Fri, 24 Apr 2015 13:05:17 +0000 (06:05 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 24 Apr 2015 13:04:54 +0000 (13:04 +0000)
commit21557b4899255540b1bd81a732521607f1c22162
tree725091f28abc0a95cee3cb1681049967302ccc80
parenta4bb7643c076b014816431a9b85af3e2edf828e7
[strong] Simplify the classes-referring-to-classes check.

Follow up for r28032.

We don't need to store the "corresponding outer scope class variables", it's
enough if we transmit the declaration group start to the inner class
variable.

R=rossberg@chromium.org
BUG=v8:3956
LOG=N

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

Cr-Commit-Position: refs/heads/master@{#28048}
src/parser.cc
src/scopes.cc
src/variables.h