| 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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 // Stack of control scopes currently entered by the visitor. | 83 // Stack of control scopes currently entered by the visitor. |
| 84 ControlScope* execution_control_; | 84 ControlScope* execution_control_; |
| 85 | 85 |
| 86 // Stack of context objects pushed onto the chain by the visitor. | 86 // Stack of context objects pushed onto the chain by the visitor. |
| 87 ContextScope* execution_context_; | 87 ContextScope* execution_context_; |
| 88 | 88 |
| 89 // Nodes representing values in the activation record. | 89 // Nodes representing values in the activation record. |
| 90 SetOncePointer<Node> function_closure_; | 90 SetOncePointer<Node> function_closure_; |
| 91 SetOncePointer<Node> function_context_; | 91 SetOncePointer<Node> function_context_; |
| 92 | 92 |
| 93 // Tracks how many try-blocks are currently entered. |
| 94 int try_nesting_level_; |
| 95 |
| 93 // Temporary storage for building node input lists. | 96 // Temporary storage for building node input lists. |
| 94 int input_buffer_size_; | 97 int input_buffer_size_; |
| 95 Node** input_buffer_; | 98 Node** input_buffer_; |
| 96 | 99 |
| 97 // Merge of all control nodes that exit the function body. | 100 // Merge of all control nodes that exit the function body. |
| 98 Node* exit_control_; | 101 Node* exit_control_; |
| 99 | 102 |
| 100 // Result of loop assignment analysis performed before graph creation. | 103 // Result of loop assignment analysis performed before graph creation. |
| 101 LoopAssignmentAnalysis* loop_assignment_analysis_; | 104 LoopAssignmentAnalysis* loop_assignment_analysis_; |
| 102 | 105 |
| (...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 453 | 456 |
| 454 // Prepare environment to be used as loop header. | 457 // Prepare environment to be used as loop header. |
| 455 void PrepareForLoop(BitVector* assigned, bool is_osr = false); | 458 void PrepareForLoop(BitVector* assigned, bool is_osr = false); |
| 456 }; | 459 }; |
| 457 | 460 |
| 458 } // namespace compiler | 461 } // namespace compiler |
| 459 } // namespace internal | 462 } // namespace internal |
| 460 } // namespace v8 | 463 } // namespace v8 |
| 461 | 464 |
| 462 #endif // V8_COMPILER_AST_GRAPH_BUILDER_H_ | 465 #endif // V8_COMPILER_AST_GRAPH_BUILDER_H_ |
| OLD | NEW |