Methinks parameter validation doesn't belong in the parser. After parsing we
resolve variables in scopes.cc, which is already hashing and canonicalizing
variable references.  Wouldn't that be the right place to check all things
scope-related?

We should avoid adding extra passes and auxiliary data structures to the parser.

http://codereview.chromium.org/6144005/

--
v8-dev mailing list
v8-dev@googlegroups.com
http://groups.google.com/group/v8-dev

Reply via email to