Fix lazy parsing for functions that use super.
authorarv <arv@chromium.org>
Fri, 13 Feb 2015 18:34:52 +0000 (10:34 -0800)
committerCommit bot <commit-bot@chromium.org>
Fri, 13 Feb 2015 18:35:09 +0000 (18:35 +0000)
commit765e002a4fce831c91393db6c1d464ef3f1264f5
tree25e3d35843f47629efcbdcad976e611546d8cca1
parentd273636e0101fab763fcafb91a5daa3aed078048
Fix lazy parsing for functions that use super.

The preparser needs to log the usage of super properties and then update
the scope when we create the function later.

BUG=v8:3888
LOG=N
R=dslomov@chromium.org, marja

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

Cr-Commit-Position: refs/heads/master@{#26642}
src/parser.cc
src/parser.h
src/preparse-data-format.h
src/preparse-data.h
src/preparser.cc
src/scopes.cc
test/cctest/test-parsing.cc
test/js-perf-test/Classes/super.js
test/mjsunit/harmony/classes-lazy-parsing.js [new file with mode: 0644]