v8/test
adamk 75f2d65f00 Don't treat catch scopes as possibly-shadowing for sloppy eval
Scope analysis is over-conservative when treating variable resolutions
as possibly-shadowed by a sloppy eval. In the attached bug, this comes
into play since catch scopes have different behavior with respect to
the "calls eval" in eager vs lazy compilation (in the latter, they
are never marked as "calls eval" because CatchContexts don't have
an associated ScopeInfo).

This patch changes the scope-type check to also eliminate a few other
cases where shadowing isn't possible, such as non-declaration block scopes.

BUG=chromium:608279
LOG=n

Review-Url: https://codereview.chromium.org/1950803002
Cr-Commit-Position: refs/heads/master@{#36046}
2016-05-04 21:36:13 +00:00
..
benchmarks [gn] Move build to gypfiles 2016-04-29 10:11:11 +00:00
cctest Add new relocation type WASM_MEMORY_SIZE_REFERENCE, use relocatable pointers to update wasm memory size references in generated code. 2016-05-04 20:20:50 +00:00
fuzzer [gn] Move build to gypfiles 2016-04-29 10:11:11 +00:00
intl [Interpreter] Skip some tests that fail with --ignition 2016-05-02 12:17:52 +00:00
js-perf-test [js-perf-test] Shorten output of JSTests/PropertyQueries microbenchmark. 2016-04-27 09:14:14 +00:00
memory
message [es8] More spec compliant syntactic tail calls implementation. 2016-05-04 13:44:42 +00:00
mjsunit Don't treat catch scopes as possibly-shadowing for sloppy eval 2016-05-04 21:36:13 +00:00
mozilla [compiler] Allow optimization of top-level eval code. 2016-05-04 10:59:07 +00:00
preparser [gn] Move build to gypfiles 2016-04-29 10:11:11 +00:00
promises-aplus Make test262 test runner check for which exception is thrown 2016-03-14 21:20:37 +00:00
simdjs [gn] Move build to gypfiles 2016-04-29 10:11:11 +00:00
test262 Skip new module test262 tests that fail on the waterfall 2016-05-03 01:55:04 +00:00
unittests ARM64: [turbofan] Avoid zero-extension after a 32-bit load 2016-05-04 18:35:56 +00:00
webkit [Interpreter] Skip some tests that fail with --ignition 2016-05-02 12:17:52 +00:00
bot_default.gyp [gn] Move build to gypfiles 2016-04-29 10:11:11 +00:00
bot_default.isolate Add a library suitable for libfuzzer with a small unit test runner shell 2016-01-26 10:39:03 +00:00
default.gyp [gn] Move build to gypfiles 2016-04-29 10:11:11 +00:00
default.isolate Add a library suitable for libfuzzer with a small unit test runner shell 2016-01-26 10:39:03 +00:00
ignition.gyp [gn] Move build to gypfiles 2016-04-29 10:11:11 +00:00
ignition.isolate [testing] Extend interpreter testing to webkit suite. 2016-03-14 16:12:50 +00:00
optimize_for_size.gyp [gn] Move build to gypfiles 2016-04-29 10:11:11 +00:00
optimize_for_size.isolate [swarming] Roll luci-go/isolate to 5c67f7b670b5. 2016-01-19 17:03:56 +00:00
perf.gyp [gn] Move build to gypfiles 2016-04-29 10:11:11 +00:00
perf.isolate [Swarming] Isolate perf tests. 2016-02-15 11:17:18 +00:00