Reviewers: rossberg,

Description:
For-of on null or undefined is an error

The latest ES6 draft changed the behavior of for-of on null / undefined,
which for once is a simplification.

[email protected]
BUG=

Please review this at https://codereview.chromium.org/416033002/

SVN Base: git://github.com/v8/v8.git@master

Affected files (+7, -94 lines):
  M src/arm/full-codegen-arm.cc
  M src/arm64/full-codegen-arm64.cc
  M src/ast.h
  M src/ast-value-factory.h
  M src/ia32/full-codegen-ia32.cc
  M src/mips/full-codegen-mips.cc
  M src/mips64/full-codegen-mips64.cc
  M src/parser.cc
  M src/x64/full-codegen-x64.cc
  M src/x87/full-codegen-x87.cc
  M test/mjsunit/harmony/iteration-semantics.js


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to