| 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/compiler-source-position-table.h" | 9 #include "src/compiler/compiler-source-position-table.h" |
| 10 #include "src/compiler/js-graph.h" | 10 #include "src/compiler/js-graph.h" |
| (...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 384 void VisitComma(BinaryOperation* expr); | 384 void VisitComma(BinaryOperation* expr); |
| 385 void VisitLogicalExpression(BinaryOperation* expr); | 385 void VisitLogicalExpression(BinaryOperation* expr); |
| 386 void VisitArithmeticExpression(BinaryOperation* expr); | 386 void VisitArithmeticExpression(BinaryOperation* expr); |
| 387 | 387 |
| 388 // Dispatched from VisitCompareOperation. | 388 // Dispatched from VisitCompareOperation. |
| 389 void VisitLiteralCompareNil(CompareOperation* expr, Expression* sub_expr, | 389 void VisitLiteralCompareNil(CompareOperation* expr, Expression* sub_expr, |
| 390 Node* nil_value); | 390 Node* nil_value); |
| 391 void VisitLiteralCompareTypeof(CompareOperation* expr, Expression* sub_expr, | 391 void VisitLiteralCompareTypeof(CompareOperation* expr, Expression* sub_expr, |
| 392 Handle<String> check); | 392 Handle<String> check); |
| 393 | 393 |
| 394 // Dispatched from VisitForInStatement. | |
| 395 void VisitForInAssignment(Expression* expr, Node* value, | |
| 396 const VectorSlotPair& feedback, | |
| 397 BailoutId bailout_id); | |
| 398 | |
| 399 // Dispatched from VisitObjectLiteral. | 394 // Dispatched from VisitObjectLiteral. |
| 400 void VisitObjectLiteralAccessor(Node* home_object, | 395 void VisitObjectLiteralAccessor(Node* home_object, |
| 401 ObjectLiteralProperty* property); | 396 ObjectLiteralProperty* property); |
| 402 | 397 |
| 403 DEFINE_AST_VISITOR_SUBCLASS_MEMBERS(); | 398 DEFINE_AST_VISITOR_SUBCLASS_MEMBERS(); |
| 404 DISALLOW_COPY_AND_ASSIGN(AstGraphBuilder); | 399 DISALLOW_COPY_AND_ASSIGN(AstGraphBuilder); |
| 405 }; | 400 }; |
| 406 | 401 |
| 407 | 402 |
| 408 // The abstract execution environment for generated code consists of | 403 // The abstract execution environment for generated code consists of |
| (...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 585 private: | 580 private: |
| 586 SourcePositionTable* const source_positions_; | 581 SourcePositionTable* const source_positions_; |
| 587 SourcePosition const start_position_; | 582 SourcePosition const start_position_; |
| 588 }; | 583 }; |
| 589 | 584 |
| 590 } // namespace compiler | 585 } // namespace compiler |
| 591 } // namespace internal | 586 } // namespace internal |
| 592 } // namespace v8 | 587 } // namespace v8 |
| 593 | 588 |
| 594 #endif // V8_COMPILER_AST_GRAPH_BUILDER_H_ | 589 #endif // V8_COMPILER_AST_GRAPH_BUILDER_H_ |
| OLD | NEW |