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 396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
407 // Visit expressions. | 407 // Visit expressions. |
408 void Visit(Expression* expr); | 408 void Visit(Expression* expr); |
409 void VisitForTest(Expression* expr); | 409 void VisitForTest(Expression* expr); |
410 void VisitForEffect(Expression* expr); | 410 void VisitForEffect(Expression* expr); |
411 void VisitForValue(Expression* expr); | 411 void VisitForValue(Expression* expr); |
412 void VisitForValueOrNull(Expression* expr); | 412 void VisitForValueOrNull(Expression* expr); |
413 void VisitForValueOrTheHole(Expression* expr); | 413 void VisitForValueOrTheHole(Expression* expr); |
414 void VisitForValues(ZoneList<Expression*>* exprs); | 414 void VisitForValues(ZoneList<Expression*>* exprs); |
415 | 415 |
416 // Common for all IterationStatement bodies. | 416 // Common for all IterationStatement bodies. |
417 void VisitIterationBody(IterationStatement* stmt, LoopBuilder* loop); | 417 void VisitIterationBody(IterationStatement* stmt, LoopBuilder* loop, |
| 418 BailoutId stack_check_id); |
418 | 419 |
419 // Dispatched from VisitCall. | 420 // Dispatched from VisitCall. |
420 void VisitCallSuper(Call* expr); | 421 void VisitCallSuper(Call* expr); |
421 | 422 |
422 // Dispatched from VisitCallRuntime. | 423 // Dispatched from VisitCallRuntime. |
423 void VisitCallJSRuntime(CallRuntime* expr); | 424 void VisitCallJSRuntime(CallRuntime* expr); |
424 | 425 |
425 // Dispatched from VisitUnaryOperation. | 426 // Dispatched from VisitUnaryOperation. |
426 void VisitDelete(UnaryOperation* expr); | 427 void VisitDelete(UnaryOperation* expr); |
427 void VisitVoid(UnaryOperation* expr); | 428 void VisitVoid(UnaryOperation* expr); |
(...skipping 173 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 |