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 | 10 |
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
277 // Visit expressions. | 277 // Visit expressions. |
278 void Visit(Expression* expr); | 278 void Visit(Expression* expr); |
279 void VisitForTest(Expression* expr); | 279 void VisitForTest(Expression* expr); |
280 void VisitForEffect(Expression* expr); | 280 void VisitForEffect(Expression* expr); |
281 void VisitForValue(Expression* expr); | 281 void VisitForValue(Expression* expr); |
282 void VisitForValueOrNull(Expression* expr); | 282 void VisitForValueOrNull(Expression* expr); |
283 void VisitForValueOrTheHole(Expression* expr); | 283 void VisitForValueOrTheHole(Expression* expr); |
284 void VisitForValues(ZoneList<Expression*>* exprs); | 284 void VisitForValues(ZoneList<Expression*>* exprs); |
285 | 285 |
286 // Common for all IterationStatement bodies. | 286 // Common for all IterationStatement bodies. |
287 void VisitIterationBody(IterationStatement* stmt, LoopBuilder* loop, int); | 287 void VisitIterationBody(IterationStatement* stmt, LoopBuilder* loop); |
288 | 288 |
289 // Dispatched from VisitCallRuntime. | 289 // Dispatched from VisitCallRuntime. |
290 void VisitCallJSRuntime(CallRuntime* expr); | 290 void VisitCallJSRuntime(CallRuntime* expr); |
291 | 291 |
292 // Dispatched from VisitUnaryOperation. | 292 // Dispatched from VisitUnaryOperation. |
293 void VisitDelete(UnaryOperation* expr); | 293 void VisitDelete(UnaryOperation* expr); |
294 void VisitVoid(UnaryOperation* expr); | 294 void VisitVoid(UnaryOperation* expr); |
295 void VisitTypeof(UnaryOperation* expr); | 295 void VisitTypeof(UnaryOperation* expr); |
296 void VisitNot(UnaryOperation* expr); | 296 void VisitNot(UnaryOperation* expr); |
297 | 297 |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
456 | 456 |
457 // Prepare environment to be used as loop header. | 457 // Prepare environment to be used as loop header. |
458 void PrepareForLoop(BitVector* assigned, bool is_osr = false); | 458 void PrepareForLoop(BitVector* assigned, bool is_osr = false); |
459 }; | 459 }; |
460 | 460 |
461 } // namespace compiler | 461 } // namespace compiler |
462 } // namespace internal | 462 } // namespace internal |
463 } // namespace v8 | 463 } // namespace v8 |
464 | 464 |
465 #endif // V8_COMPILER_AST_GRAPH_BUILDER_H_ | 465 #endif // V8_COMPILER_AST_GRAPH_BUILDER_H_ |
OLD | NEW |