v8/test
littledan 38465598c8 Fix legacy const for-of/in destructuring
Previously, using legacy const in for-of/in loops led to a check-fail
in the parser. This was due to the fact that the destructuring bind
led to an undefined initialization to undefined in the parser, which
caused the for loop code to go down a strange path. This patch
eliminates the undefined initialization in variables declared in
for-in/of loops, so that that path is not used and the error is
fixed.

BUG=v8:4461
LOG=Y
R=adamk

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

Cr-Commit-Position: refs/heads/master@{#31117}
2015-10-05 22:36:33 +00:00
..
benchmarks [Swarming] Presort tests - slowest first. 2015-10-01 19:19:17 +00:00
cctest Prohibit let in lexical bindings 2015-10-05 20:29:22 +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 Prohibit let in lexical bindings 2015-10-05 20:29:22 +00:00
mjsunit Fix legacy const for-of/in destructuring 2015-10-05 22:36:33 +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] Align Promise.resolve with the spec 2015-10-05 22:21:25 +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