v8/test
littledan 2d4085622a Ensure scopes are backed by blocks in the body of for loops
Clusterfuzz testing discovered that sloppy-mode block-scoped function
declarations introduce lexically-scoped variables in scopes that were
thrown away under the expectation that no lexically-scoped variables
were introduced. These cases are:

  for (;;) function foo() {}
  for (x in y) function foo() {}

This patch ensures that a block is created in those cases to hold the
lexically scoped variable. Usually, scope analysis should discover that
that block is not important, and it should not have a runtime
representation.

BUG=chromium:536750,chromium:536751
LOG=Y
R=adamk

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

Cr-Commit-Position: refs/heads/master@{#31109}
2015-10-05 18:52:58 +00:00
..
benchmarks [Swarming] Presort tests - slowest first. 2015-10-01 19:19:17 +00:00
cctest [heap] Prepare heap for smaller large object allocation limit than max allocatable memory. 2015-10-05 17:04:10 +00:00
intl Reland [swarming] Isolate v8 testing. 2015-10-05 09:48:42 +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 Reland [swarming] Isolate v8 testing. 2015-10-05 09:48:42 +00:00
mjsunit Ensure scopes are backed by blocks in the body of for loops 2015-10-05 18:52:58 +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 [es6] Function constructor-created functions should be named "anonymous" 2015-09-30 19:20:04 +00:00
unittests Reland [swarming] Isolate v8 testing. 2015-10-05 09:48:42 +00:00
webkit Fix completion of try..finally. 2015-10-01 13:59:56 +00:00
default.gyp Reland [swarming] Isolate v8 testing. 2015-10-05 09:48:42 +00:00
default.isolate Reland [swarming] Isolate v8 testing. 2015-10-05 09:48:42 +00:00
developer_default.gyp Reland [swarming] Isolate v8 testing. 2015-10-05 09:48:42 +00:00
developer_default.isolate Reland [swarming] Isolate v8 testing. 2015-10-05 09:48:42 +00:00