| 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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 ContextScope* execution_context_; | 94 ContextScope* execution_context_; |
| 95 | 95 |
| 96 // Nodes representing values in the activation record. | 96 // Nodes representing values in the activation record. |
| 97 SetOncePointer<Node> function_closure_; | 97 SetOncePointer<Node> function_closure_; |
| 98 SetOncePointer<Node> function_context_; | 98 SetOncePointer<Node> function_context_; |
| 99 SetOncePointer<Node> new_target_; | 99 SetOncePointer<Node> new_target_; |
| 100 | 100 |
| 101 // Tracks how many try-blocks are currently entered. | 101 // Tracks how many try-blocks are currently entered. |
| 102 int try_nesting_level_; | 102 int try_nesting_level_; |
| 103 | 103 |
| 104 // Tracks the prediction of the innermost try-block. | |
| 105 HandlerTable::CatchPrediction try_catch_prediction_; | |
| 106 | |
| 107 // Temporary storage for building node input lists. | 104 // Temporary storage for building node input lists. |
| 108 int input_buffer_size_; | 105 int input_buffer_size_; |
| 109 Node** input_buffer_; | 106 Node** input_buffer_; |
| 110 | 107 |
| 111 // Optimization to cache loaded feedback vector. | 108 // Optimization to cache loaded feedback vector. |
| 112 SetOncePointer<Node> feedback_vector_; | 109 SetOncePointer<Node> feedback_vector_; |
| 113 | 110 |
| 114 // Optimization to cache empty frame state. | 111 // Optimization to cache empty frame state. |
| 115 SetOncePointer<Node> empty_frame_state_; | 112 SetOncePointer<Node> empty_frame_state_; |
| 116 | 113 |
| (...skipping 491 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 608 | 605 |
| 609 // Prepare environment to be used as loop header. | 606 // Prepare environment to be used as loop header. |
| 610 void PrepareForLoop(BitVector* assigned, bool is_osr = false); | 607 void PrepareForLoop(BitVector* assigned, bool is_osr = false); |
| 611 }; | 608 }; |
| 612 | 609 |
| 613 } // namespace compiler | 610 } // namespace compiler |
| 614 } // namespace internal | 611 } // namespace internal |
| 615 } // namespace v8 | 612 } // namespace v8 |
| 616 | 613 |
| 617 #endif // V8_COMPILER_AST_GRAPH_BUILDER_H_ | 614 #endif // V8_COMPILER_AST_GRAPH_BUILDER_H_ |
| OLD | NEW |