v8/test
Marja Hölttä f6f5bafe41 [parser] Skipping inner funcs: Fix hoisting.
The catch variable is a special VAR-mode variable which is not in a declaration
scope. Normally creating such a variable is not possible with DeclareVariable,
but Parser bypasses it by calling DeclareLocal directly (which doesn't have the
hoisting check).

PreParser used to cut corners and declare the catch variable as a LET-mode
variable to prevent hoisting.

But since LET and VAR variables behave differently when deciding whether they
block sloppy block function hoisting, that approach doesn't fly.

BUG=v8:5516,chromium:771474

Change-Id: Ic6f5f4996416c9fa59132725c8b0b6b570c72f48
Reviewed-on: https://chromium-review.googlesource.com/700634
Commit-Queue: Marja Hölttä <marja@chromium.org>
Reviewed-by: Adam Klein <adamk@chromium.org>
Cr-Commit-Position: refs/heads/master@{#48308}
2017-10-05 12:00:45 +00:00
..
benchmarks
cctest [parser] Skipping inner funcs: Fix hoisting. 2017-10-05 12:00:45 +00:00
common [wasm] Move compilation methods to module-compiler.h 2017-09-28 13:14:26 +00:00
debugger [debug] add microtask-related tests. 2017-10-03 12:56:17 +00:00
fuzzer [wasm] Move compilation methods to module-compiler.h 2017-09-28 13:14:26 +00:00
inspector [cleanup] Fix (D)CHECK macros in src/{debug,inspector} 2017-09-25 12:20:59 +00:00
intl Fix common misspellings 2017-08-02 09:35:28 +00:00
js-perf-test Implement microbenchmark for has-in idiom 2017-09-13 08:48:44 +00:00
memory [snapshot] add tracking for builtin snapshot size. 2017-08-31 07:29:31 +00:00
message [wasm] Add flag for memory tracing 2017-10-02 08:26:26 +00:00
mjsunit [parser] Skipping inner funcs: Fix hoisting. 2017-10-05 12:00:45 +00:00
mkgrokdump
mozilla Reland "[d8] implement setTimeout." 2017-09-05 07:30:46 +00:00
preparser
promises-aplus Fix common misspellings 2017-08-02 09:35:28 +00:00
test262 Revert "[language] Implement optional catch binding proposal" 2017-10-05 08:31:15 +00:00
unittests Remove ComputeFlags, simply pass in Code::Kind instead of Code::Flags 2017-09-29 15:37:27 +00:00
wasm-spec-tests [wasm] Remove fixed todo 2017-09-26 09:20:41 +00:00
webkit Reland "[build] Switch windows default compilation to MSVS 2017" 2017-09-29 09:36:49 +00:00
bot_default.gyp
bot_default.isolate
BUILD.gn
default.gyp
default.isolate
optimize_for_size.gyp
optimize_for_size.isolate
perf.gyp
perf.isolate