| 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 398 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 409 // Visit expressions. | 409 // Visit expressions. |
| 410 void Visit(Expression* expr); | 410 void Visit(Expression* expr); |
| 411 void VisitForTest(Expression* expr); | 411 void VisitForTest(Expression* expr); |
| 412 void VisitForEffect(Expression* expr); | 412 void VisitForEffect(Expression* expr); |
| 413 void VisitForValue(Expression* expr); | 413 void VisitForValue(Expression* expr); |
| 414 void VisitForValueOrNull(Expression* expr); | 414 void VisitForValueOrNull(Expression* expr); |
| 415 void VisitForValueOrTheHole(Expression* expr); | 415 void VisitForValueOrTheHole(Expression* expr); |
| 416 void VisitForValues(ZoneList<Expression*>* exprs); | 416 void VisitForValues(ZoneList<Expression*>* exprs); |
| 417 | 417 |
| 418 // Common for all IterationStatement bodies. | 418 // Common for all IterationStatement bodies. |
| 419 void VisitIterationBody(IterationStatement* stmt, LoopBuilder* loop); | 419 void VisitIterationBody(IterationStatement* stmt, LoopBuilder* loop, |
| 420 BailoutId stack_check_id); |
| 420 | 421 |
| 421 // Dispatched from VisitCall. | 422 // Dispatched from VisitCall. |
| 422 void VisitCallSuper(Call* expr); | 423 void VisitCallSuper(Call* expr); |
| 423 | 424 |
| 424 // Dispatched from VisitCallRuntime. | 425 // Dispatched from VisitCallRuntime. |
| 425 void VisitCallJSRuntime(CallRuntime* expr); | 426 void VisitCallJSRuntime(CallRuntime* expr); |
| 426 | 427 |
| 427 // Dispatched from VisitUnaryOperation. | 428 // Dispatched from VisitUnaryOperation. |
| 428 void VisitDelete(UnaryOperation* expr); | 429 void VisitDelete(UnaryOperation* expr); |
| 429 void VisitVoid(UnaryOperation* expr); | 430 void VisitVoid(UnaryOperation* expr); |
| (...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 603 | 604 |
| 604 // Prepare environment to be used as loop header. | 605 // Prepare environment to be used as loop header. |
| 605 void PrepareForLoop(BitVector* assigned, bool is_osr = false); | 606 void PrepareForLoop(BitVector* assigned, bool is_osr = false); |
| 606 }; | 607 }; |
| 607 | 608 |
| 608 } // namespace compiler | 609 } // namespace compiler |
| 609 } // namespace internal | 610 } // namespace internal |
| 610 } // namespace v8 | 611 } // namespace v8 |
| 611 | 612 |
| 612 #endif // V8_COMPILER_AST_GRAPH_BUILDER_H_ | 613 #endif // V8_COMPILER_AST_GRAPH_BUILDER_H_ |
| OLD | NEW |