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

Side by Side Diff: src/compiler/ast-graph-builder.h

Issue 2142333002: Refactor class declaration logic to the parser and runtime Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: cleanup per Adam Created 4 years, 5 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
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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 #ifndef V8_COMPILER_AST_GRAPH_BUILDER_H_ 5 #ifndef V8_COMPILER_AST_GRAPH_BUILDER_H_
6 #define V8_COMPILER_AST_GRAPH_BUILDER_H_ 6 #define V8_COMPILER_AST_GRAPH_BUILDER_H_
7 7
8 #include "src/ast/ast.h" 8 #include "src/ast/ast.h"
9 #include "src/compiler/js-graph.h" 9 #include "src/compiler/js-graph.h"
10 #include "src/compiler/liveness-analyzer.h" 10 #include "src/compiler/liveness-analyzer.h"
(...skipping 433 matching lines...) Expand 10 before | Expand all | Expand 10 after
444 444
445 // Dispatched from VisitForInStatement. 445 // Dispatched from VisitForInStatement.
446 void VisitForInAssignment(Expression* expr, Node* value, 446 void VisitForInAssignment(Expression* expr, Node* value,
447 const VectorSlotPair& feedback, 447 const VectorSlotPair& feedback,
448 BailoutId bailout_id); 448 BailoutId bailout_id);
449 449
450 // Dispatched from VisitObjectLiteral. 450 // Dispatched from VisitObjectLiteral.
451 void VisitObjectLiteralAccessor(Node* home_object, 451 void VisitObjectLiteralAccessor(Node* home_object,
452 ObjectLiteralProperty* property); 452 ObjectLiteralProperty* property);
453 453
454 // Dispatched from VisitClassLiteral.
455 void VisitClassLiteralContents(ClassLiteral* expr);
456
457 DEFINE_AST_VISITOR_SUBCLASS_MEMBERS(); 454 DEFINE_AST_VISITOR_SUBCLASS_MEMBERS();
458 DISALLOW_COPY_AND_ASSIGN(AstGraphBuilder); 455 DISALLOW_COPY_AND_ASSIGN(AstGraphBuilder);
459 }; 456 };
460 457
461 458
462 // The abstract execution environment for generated code consists of 459 // The abstract execution environment for generated code consists of
463 // parameter variables, local variables and the operand stack. The 460 // parameter variables, local variables and the operand stack. The
464 // environment will perform proper SSA-renaming of all tracked nodes 461 // environment will perform proper SSA-renaming of all tracked nodes
465 // at split and merge points in the control flow. Internally all the 462 // at split and merge points in the control flow. Internally all the
466 // values are stored in one list using the following layout: 463 // values are stored in one list using the following layout:
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
601 598
602 // Prepare environment to be used as loop header. 599 // Prepare environment to be used as loop header.
603 void PrepareForLoop(BitVector* assigned, bool is_osr = false); 600 void PrepareForLoop(BitVector* assigned, bool is_osr = false);
604 }; 601 };
605 602
606 } // namespace compiler 603 } // namespace compiler
607 } // namespace internal 604 } // namespace internal
608 } // namespace v8 605 } // namespace v8
609 606
610 #endif // V8_COMPILER_AST_GRAPH_BUILDER_H_ 607 #endif // V8_COMPILER_AST_GRAPH_BUILDER_H_
OLDNEW
« no previous file with comments | « src/bailout-reason.h ('k') | src/compiler/ast-graph-builder.cc » ('j') | src/parsing/parser.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698