| 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 401 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 412 | 412 |
| 413 // Dispatched from VisitCallRuntime. | 413 // Dispatched from VisitCallRuntime. |
| 414 void VisitCallJSRuntime(CallRuntime* expr); | 414 void VisitCallJSRuntime(CallRuntime* expr); |
| 415 | 415 |
| 416 // Dispatched from VisitUnaryOperation. | 416 // Dispatched from VisitUnaryOperation. |
| 417 void VisitDelete(UnaryOperation* expr); | 417 void VisitDelete(UnaryOperation* expr); |
| 418 void VisitVoid(UnaryOperation* expr); | 418 void VisitVoid(UnaryOperation* expr); |
| 419 void VisitTypeof(UnaryOperation* expr); | 419 void VisitTypeof(UnaryOperation* expr); |
| 420 void VisitNot(UnaryOperation* expr); | 420 void VisitNot(UnaryOperation* expr); |
| 421 | 421 |
| 422 // Dispatched from VisitTypeof, VisitLiteralCompareTypeof. |
| 423 void VisitTypeofExpression(Expression* expr); |
| 424 |
| 422 // Dispatched from VisitBinaryOperation. | 425 // Dispatched from VisitBinaryOperation. |
| 423 void VisitComma(BinaryOperation* expr); | 426 void VisitComma(BinaryOperation* expr); |
| 424 void VisitLogicalExpression(BinaryOperation* expr); | 427 void VisitLogicalExpression(BinaryOperation* expr); |
| 425 void VisitArithmeticExpression(BinaryOperation* expr); | 428 void VisitArithmeticExpression(BinaryOperation* expr); |
| 426 | 429 |
| 430 // Dispatched from VisitCompareOperation. |
| 431 void VisitLiteralCompareNil(CompareOperation* expr, Expression* sub_expr, |
| 432 Node* nil_value); |
| 433 void VisitLiteralCompareTypeof(CompareOperation* expr, Expression* sub_expr, |
| 434 Handle<String> check); |
| 435 |
| 427 // Dispatched from VisitForInStatement. | 436 // Dispatched from VisitForInStatement. |
| 428 void VisitForInAssignment(Expression* expr, Node* value, | 437 void VisitForInAssignment(Expression* expr, Node* value, |
| 429 const VectorSlotPair& feedback, | 438 const VectorSlotPair& feedback, |
| 430 BailoutId bailout_id_before, | 439 BailoutId bailout_id_before, |
| 431 BailoutId bailout_id_after); | 440 BailoutId bailout_id_after); |
| 432 | 441 |
| 433 // Dispatched from VisitObjectLiteral. | 442 // Dispatched from VisitObjectLiteral. |
| 434 void VisitObjectLiteralAccessor(Node* home_object, | 443 void VisitObjectLiteralAccessor(Node* home_object, |
| 435 ObjectLiteralProperty* property); | 444 ObjectLiteralProperty* property); |
| 436 | 445 |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 584 | 593 |
| 585 // Prepare environment to be used as loop header. | 594 // Prepare environment to be used as loop header. |
| 586 void PrepareForLoop(BitVector* assigned, bool is_osr = false); | 595 void PrepareForLoop(BitVector* assigned, bool is_osr = false); |
| 587 }; | 596 }; |
| 588 | 597 |
| 589 } // namespace compiler | 598 } // namespace compiler |
| 590 } // namespace internal | 599 } // namespace internal |
| 591 } // namespace v8 | 600 } // namespace v8 |
| 592 | 601 |
| 593 #endif // V8_COMPILER_AST_GRAPH_BUILDER_H_ | 602 #endif // V8_COMPILER_AST_GRAPH_BUILDER_H_ |
| OLD | NEW |