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 369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
380 void VisitForTest(Expression* expr); | 380 void VisitForTest(Expression* expr); |
381 void VisitForEffect(Expression* expr); | 381 void VisitForEffect(Expression* expr); |
382 void VisitForValue(Expression* expr); | 382 void VisitForValue(Expression* expr); |
383 void VisitForValueOrNull(Expression* expr); | 383 void VisitForValueOrNull(Expression* expr); |
384 void VisitForValueOrTheHole(Expression* expr); | 384 void VisitForValueOrTheHole(Expression* expr); |
385 void VisitForValues(ZoneList<Expression*>* exprs); | 385 void VisitForValues(ZoneList<Expression*>* exprs); |
386 | 386 |
387 // Common for all IterationStatement bodies. | 387 // Common for all IterationStatement bodies. |
388 void VisitIterationBody(IterationStatement* stmt, LoopBuilder* loop); | 388 void VisitIterationBody(IterationStatement* stmt, LoopBuilder* loop); |
389 | 389 |
| 390 // Dispatched from VisitCall. |
| 391 void VisitCallSuper(Call* expr); |
| 392 |
390 // Dispatched from VisitCallRuntime. | 393 // Dispatched from VisitCallRuntime. |
391 void VisitCallJSRuntime(CallRuntime* expr); | 394 void VisitCallJSRuntime(CallRuntime* expr); |
392 | 395 |
393 // Dispatched from VisitUnaryOperation. | 396 // Dispatched from VisitUnaryOperation. |
394 void VisitDelete(UnaryOperation* expr); | 397 void VisitDelete(UnaryOperation* expr); |
395 void VisitVoid(UnaryOperation* expr); | 398 void VisitVoid(UnaryOperation* expr); |
396 void VisitTypeof(UnaryOperation* expr); | 399 void VisitTypeof(UnaryOperation* expr); |
397 void VisitNot(UnaryOperation* expr); | 400 void VisitNot(UnaryOperation* expr); |
398 | 401 |
399 // Dispatched from VisitBinaryOperation. | 402 // Dispatched from VisitBinaryOperation. |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
555 | 558 |
556 // Prepare environment to be used as loop header. | 559 // Prepare environment to be used as loop header. |
557 void PrepareForLoop(BitVector* assigned, bool is_osr = false); | 560 void PrepareForLoop(BitVector* assigned, bool is_osr = false); |
558 }; | 561 }; |
559 | 562 |
560 } // namespace compiler | 563 } // namespace compiler |
561 } // namespace internal | 564 } // namespace internal |
562 } // namespace v8 | 565 } // namespace v8 |
563 | 566 |
564 #endif // V8_COMPILER_AST_GRAPH_BUILDER_H_ | 567 #endif // V8_COMPILER_AST_GRAPH_BUILDER_H_ |
OLD | NEW |