Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(211)

Side by Side Diff: src/pattern-rewriter.cc

Issue 1332873003: Implement sloppy-mode block-defined functions (Annex B 3.3) (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Improve type clarity Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/parser.cc ('k') | src/prettyprinter.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/ast.h" 5 #include "src/ast.h"
6 #include "src/messages.h" 6 #include "src/messages.h"
7 #include "src/parser.h" 7 #include "src/parser.h"
8 8
9 namespace v8 { 9 namespace v8 {
10 10
(...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after
388 NOT_A_PATTERN(CallRuntime) 388 NOT_A_PATTERN(CallRuntime)
389 NOT_A_PATTERN(CaseClause) 389 NOT_A_PATTERN(CaseClause)
390 NOT_A_PATTERN(ClassLiteral) 390 NOT_A_PATTERN(ClassLiteral)
391 NOT_A_PATTERN(CompareOperation) 391 NOT_A_PATTERN(CompareOperation)
392 NOT_A_PATTERN(Conditional) 392 NOT_A_PATTERN(Conditional)
393 NOT_A_PATTERN(ContinueStatement) 393 NOT_A_PATTERN(ContinueStatement)
394 NOT_A_PATTERN(CountOperation) 394 NOT_A_PATTERN(CountOperation)
395 NOT_A_PATTERN(DebuggerStatement) 395 NOT_A_PATTERN(DebuggerStatement)
396 NOT_A_PATTERN(DoWhileStatement) 396 NOT_A_PATTERN(DoWhileStatement)
397 NOT_A_PATTERN(EmptyStatement) 397 NOT_A_PATTERN(EmptyStatement)
398 NOT_A_PATTERN(SloppyBlockFunctionStatement)
398 NOT_A_PATTERN(ExportDeclaration) 399 NOT_A_PATTERN(ExportDeclaration)
399 NOT_A_PATTERN(ExpressionStatement) 400 NOT_A_PATTERN(ExpressionStatement)
400 NOT_A_PATTERN(ForInStatement) 401 NOT_A_PATTERN(ForInStatement)
401 NOT_A_PATTERN(ForOfStatement) 402 NOT_A_PATTERN(ForOfStatement)
402 NOT_A_PATTERN(ForStatement) 403 NOT_A_PATTERN(ForStatement)
403 NOT_A_PATTERN(FunctionDeclaration) 404 NOT_A_PATTERN(FunctionDeclaration)
404 NOT_A_PATTERN(FunctionLiteral) 405 NOT_A_PATTERN(FunctionLiteral)
405 NOT_A_PATTERN(IfStatement) 406 NOT_A_PATTERN(IfStatement)
406 NOT_A_PATTERN(ImportDeclaration) 407 NOT_A_PATTERN(ImportDeclaration)
407 NOT_A_PATTERN(Literal) 408 NOT_A_PATTERN(Literal)
(...skipping 10 matching lines...) Expand all
418 NOT_A_PATTERN(TryFinallyStatement) 419 NOT_A_PATTERN(TryFinallyStatement)
419 NOT_A_PATTERN(UnaryOperation) 420 NOT_A_PATTERN(UnaryOperation)
420 NOT_A_PATTERN(VariableDeclaration) 421 NOT_A_PATTERN(VariableDeclaration)
421 NOT_A_PATTERN(WhileStatement) 422 NOT_A_PATTERN(WhileStatement)
422 NOT_A_PATTERN(WithStatement) 423 NOT_A_PATTERN(WithStatement)
423 NOT_A_PATTERN(Yield) 424 NOT_A_PATTERN(Yield)
424 425
425 #undef NOT_A_PATTERN 426 #undef NOT_A_PATTERN
426 } // namespace internal 427 } // namespace internal
427 } // namespace v8 428 } // namespace v8
OLDNEW
« no previous file with comments | « src/parser.cc ('k') | src/prettyprinter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698