v8/test/mjsunit/harmony
keuchel@chromium.org 41eb990afe Fix pre-parsing function declarations.
The preparser has been out of sync with the parser. As a reminder, we have the
following grammer for harmony mode

 Block ::
   { SourceElement* }
 SourceElement ::
   Statement
   FunctionDeclaration
   LetDeclaration

instead of

 Block ::
   { Statement* }
 SourceElement ::
   Statement
   FunctionDeclaration

The extension to allow FunctionDeclarations in statement positions in
non-strict code is still active.

Review URL: http://codereview.chromium.org/7983006

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9363 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2011-09-21 12:27:07 +00:00
..
block-conflicts.js Detect conflicting variable bindings in harmony mode. 2011-09-01 12:31:18 +00:00
block-lazy-compile.js Preliminary code for block scopes and block contexts. 2011-08-11 16:29:28 +00:00
block-leave.js Simplfy handling of exits from scoped blocks. 2011-09-06 21:48:32 +00:00
block-let-crankshaft.js Temporal dead zone behaviour for let bindings. 2011-08-30 11:23:57 +00:00
block-let-declaration.js Fix pre-parsing function declarations. 2011-09-21 12:27:07 +00:00
block-let-semantics.js Temporal dead zone behaviour for let bindings. 2011-08-30 11:23:57 +00:00
block-scoping.js Parse harmony let declarations. 2011-08-16 14:24:12 +00:00
debug-blockscopes.js Getting rid of ExitContextStatement for scoped blocks. 2011-09-06 22:00:59 +00:00
debug-evaluate-blockscopes.js Parse harmony let declarations. 2011-08-16 14:24:12 +00:00
proxies.js Make proxies work as prototypes. 2011-09-16 13:38:30 +00:00
typeof.js Implement Harmony semantics for typeof null (behind a flag). 2011-08-10 12:12:06 +00:00
weakmaps.js Fix parent of the WeakMap prototype. 2011-09-13 09:45:10 +00:00