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