| OLD | NEW |
| 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 427 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 438 | 438 |
| 439 // Dispatched from VisitCompareOperation. | 439 // Dispatched from VisitCompareOperation. |
| 440 void VisitLiteralCompareNil(CompareOperation* expr, Expression* sub_expr, | 440 void VisitLiteralCompareNil(CompareOperation* expr, Expression* sub_expr, |
| 441 Node* nil_value); | 441 Node* nil_value); |
| 442 void VisitLiteralCompareTypeof(CompareOperation* expr, Expression* sub_expr, | 442 void VisitLiteralCompareTypeof(CompareOperation* expr, Expression* sub_expr, |
| 443 Handle<String> check); | 443 Handle<String> check); |
| 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_before, | 448 BailoutId bailout_id); |
| 449 BailoutId bailout_id_after); | |
| 450 | 449 |
| 451 // Dispatched from VisitObjectLiteral. | 450 // Dispatched from VisitObjectLiteral. |
| 452 void VisitObjectLiteralAccessor(Node* home_object, | 451 void VisitObjectLiteralAccessor(Node* home_object, |
| 453 ObjectLiteralProperty* property); | 452 ObjectLiteralProperty* property); |
| 454 | 453 |
| 455 // Dispatched from VisitClassLiteral. | 454 // Dispatched from VisitClassLiteral. |
| 456 void VisitClassLiteralContents(ClassLiteral* expr); | 455 void VisitClassLiteralContents(ClassLiteral* expr); |
| 457 | 456 |
| 458 DEFINE_AST_VISITOR_SUBCLASS_MEMBERS(); | 457 DEFINE_AST_VISITOR_SUBCLASS_MEMBERS(); |
| 459 DISALLOW_COPY_AND_ASSIGN(AstGraphBuilder); | 458 DISALLOW_COPY_AND_ASSIGN(AstGraphBuilder); |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 602 | 601 |
| 603 // Prepare environment to be used as loop header. | 602 // Prepare environment to be used as loop header. |
| 604 void PrepareForLoop(BitVector* assigned, bool is_osr = false); | 603 void PrepareForLoop(BitVector* assigned, bool is_osr = false); |
| 605 }; | 604 }; |
| 606 | 605 |
| 607 } // namespace compiler | 606 } // namespace compiler |
| 608 } // namespace internal | 607 } // namespace internal |
| 609 } // namespace v8 | 608 } // namespace v8 |
| 610 | 609 |
| 611 #endif // V8_COMPILER_AST_GRAPH_BUILDER_H_ | 610 #endif // V8_COMPILER_AST_GRAPH_BUILDER_H_ |
| OLD | NEW |