v8/test
adamk 24565b8598 Use Scope::function_kind_ to distinguish arrow function scopes
Previously, arrow function scopes had a separate ScopeType. However,
Scope::DeserializeScopeChain() erroneously deserialized ARROW_SCOPE
ScopeInfos as FUNCTION_SCOPE. This could lead to bugs such as the
attached one, where "super" was disallowed where it should have
been allowed.

This patch utilizes the Scope's FunctionKind to distinguish arrow
functions from others. Besides fixing the above bug, this also
simplifies code in various places that had to deal with two different
ScopeTypes both of which meant "function".

BUG=v8:4466
LOG=n

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

Cr-Commit-Position: refs/heads/master@{#31154}
2015-10-07 14:55:45 +00:00
..
benchmarks [test] Fix status files. 2015-10-07 13:14:28 +00:00
cctest Use Scope::function_kind_ to distinguish arrow function scopes 2015-10-07 14:55:45 +00:00
intl [test] Fix status files. 2015-10-07 13:14:28 +00:00
js-perf-test [es6] Ship rest parameters. 2015-09-28 11:19:35 +00:00
memory Correctly name memory stat for context snapshot size. 2015-04-10 22:36:02 +00:00
message Prohibit let in lexical bindings 2015-10-05 20:29:22 +00:00
mjsunit Use Scope::function_kind_ to distinguish arrow function scopes 2015-10-07 14:55:45 +00:00
mozilla MIPS64: Add big-endian support for mips64. 2015-09-29 17:23:55 +00:00
preparser Reland [swarming] Isolate v8 testing. 2015-10-05 09:48:42 +00:00
promises-aplus Remove unnecessary coupling between Promise tests and Object.observe 2015-07-21 17:17:07 +00:00
simdjs [Swarming] Presort tests - slowest first. 2015-10-01 19:19:17 +00:00
test262 [interpreter] Make --ignition-filter script filtering explicit. 2015-10-07 14:27:37 +00:00
unittests [turbofan] Move global constant optimization to AstGraphBuilder. 2015-10-07 08:19:43 +00:00
webkit Fix completion of try..finally. 2015-10-01 13:59:56 +00:00
default.gyp [swarming] Run unittests together with default tests. 2015-10-06 09:31:49 +00:00
default.isolate [swarming] Run unittests together with default tests. 2015-10-06 09:31:49 +00:00