| 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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 ControlScope* execution_control_; | 83 ControlScope* execution_control_; |
| 84 | 84 |
| 85 // Stack of context objects pushed onto the chain by the visitor. | 85 // Stack of context objects pushed onto the chain by the visitor. |
| 86 ContextScope* execution_context_; | 86 ContextScope* execution_context_; |
| 87 | 87 |
| 88 // Nodes representing values in the activation record. | 88 // Nodes representing values in the activation record. |
| 89 SetOncePointer<Node> function_closure_; | 89 SetOncePointer<Node> function_closure_; |
| 90 SetOncePointer<Node> function_context_; | 90 SetOncePointer<Node> function_context_; |
| 91 | 91 |
| 92 // Tracks how many try-blocks are currently entered. | 92 // Tracks how many try-blocks are currently entered. |
| 93 int try_catch_nesting_level_; |
| 93 int try_nesting_level_; | 94 int try_nesting_level_; |
| 94 | 95 |
| 95 // Temporary storage for building node input lists. | 96 // Temporary storage for building node input lists. |
| 96 int input_buffer_size_; | 97 int input_buffer_size_; |
| 97 Node** input_buffer_; | 98 Node** input_buffer_; |
| 98 | 99 |
| 99 // Control nodes that exit the function body. | 100 // Control nodes that exit the function body. |
| 100 ZoneVector<Node*> exit_controls_; | 101 ZoneVector<Node*> exit_controls_; |
| 101 | 102 |
| 102 // Result of loop assignment analysis performed before graph creation. | 103 // Result of loop assignment analysis performed before graph creation. |
| (...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 505 | 506 |
| 506 // Prepare environment to be used as loop header. | 507 // Prepare environment to be used as loop header. |
| 507 void PrepareForLoop(BitVector* assigned, bool is_osr = false); | 508 void PrepareForLoop(BitVector* assigned, bool is_osr = false); |
| 508 }; | 509 }; |
| 509 | 510 |
| 510 } // namespace compiler | 511 } // namespace compiler |
| 511 } // namespace internal | 512 } // namespace internal |
| 512 } // namespace v8 | 513 } // namespace v8 |
| 513 | 514 |
| 514 #endif // V8_COMPILER_AST_GRAPH_BUILDER_H_ | 515 #endif // V8_COMPILER_AST_GRAPH_BUILDER_H_ |
| OLD | NEW |