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.h" | 8 #include "src/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 384 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
395 void VisitNot(UnaryOperation* expr); | 395 void VisitNot(UnaryOperation* expr); |
396 | 396 |
397 // Dispatched from VisitBinaryOperation. | 397 // Dispatched from VisitBinaryOperation. |
398 void VisitComma(BinaryOperation* expr); | 398 void VisitComma(BinaryOperation* expr); |
399 void VisitLogicalExpression(BinaryOperation* expr); | 399 void VisitLogicalExpression(BinaryOperation* expr); |
400 void VisitArithmeticExpression(BinaryOperation* expr); | 400 void VisitArithmeticExpression(BinaryOperation* expr); |
401 | 401 |
402 // Dispatched from VisitForInStatement. | 402 // Dispatched from VisitForInStatement. |
403 void VisitForInAssignment(Expression* expr, Node* value, | 403 void VisitForInAssignment(Expression* expr, Node* value, |
404 const VectorSlotPair& feedback, | 404 const VectorSlotPair& feedback, |
405 BailoutId bailout_id); | 405 BailoutId bailout_id_before, |
| 406 BailoutId bailout_id_after); |
406 | 407 |
407 // Dispatched from VisitObjectLiteral. | 408 // Dispatched from VisitObjectLiteral. |
408 void VisitObjectLiteralAccessor(Node* home_object, | 409 void VisitObjectLiteralAccessor(Node* home_object, |
409 ObjectLiteralProperty* property); | 410 ObjectLiteralProperty* property); |
410 | 411 |
411 // Dispatched from VisitClassLiteral. | 412 // Dispatched from VisitClassLiteral. |
412 void VisitClassLiteralContents(ClassLiteral* expr); | 413 void VisitClassLiteralContents(ClassLiteral* expr); |
413 | 414 |
414 DEFINE_AST_VISITOR_SUBCLASS_MEMBERS(); | 415 DEFINE_AST_VISITOR_SUBCLASS_MEMBERS(); |
415 DISALLOW_COPY_AND_ASSIGN(AstGraphBuilder); | 416 DISALLOW_COPY_AND_ASSIGN(AstGraphBuilder); |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
557 | 558 |
558 // Prepare environment to be used as loop header. | 559 // Prepare environment to be used as loop header. |
559 void PrepareForLoop(BitVector* assigned, bool is_osr = false); | 560 void PrepareForLoop(BitVector* assigned, bool is_osr = false); |
560 }; | 561 }; |
561 | 562 |
562 } // namespace compiler | 563 } // namespace compiler |
563 } // namespace internal | 564 } // namespace internal |
564 } // namespace v8 | 565 } // namespace v8 |
565 | 566 |
566 #endif // V8_COMPILER_AST_GRAPH_BUILDER_H_ | 567 #endif // V8_COMPILER_AST_GRAPH_BUILDER_H_ |
OLD | NEW |