ES6 Classes: Remove tracking of super construct calls.
authorarv <arv@chromium.org>
Fri, 13 Feb 2015 22:26:17 +0000 (14:26 -0800)
committerCommit bot <commit-bot@chromium.org>
Fri, 13 Feb 2015 22:26:34 +0000 (22:26 +0000)
commitd0c2c2b32c551d927c65d83d479226892291ce93
treef71b809737c3cb0750691a2455931806d3d8c34c
parent907f0b6ce573333f1cbca00db5cb1df1ead175bb
ES6 Classes: Remove tracking of super construct calls.

With the new ES6 semantics super construct calls are only valid in
a constructor in a derived class. This is something that is
statically known and we report early SyntaxError in case it occurs.
We therefore do not need to track this any more.

BUG=v8:3330
LOG=N
R=dslomov@chromium.org, adamk

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

Cr-Commit-Position: refs/heads/master@{#26644}
src/ast.cc
src/ast.h
src/objects-inl.h
src/objects.cc
src/objects.h
src/parser.cc
src/preparser.h
src/scopes.cc
src/scopes.h