| 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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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. | 104 // Tracks the prediction of the innermost try-block. |
| 105 bool try_catch_prediction_; | 105 HandlerTable::CatchPrediction try_catch_prediction_; |
| 106 | 106 |
| 107 // Temporary storage for building node input lists. | 107 // Temporary storage for building node input lists. |
| 108 int input_buffer_size_; | 108 int input_buffer_size_; |
| 109 Node** input_buffer_; | 109 Node** input_buffer_; |
| 110 | 110 |
| 111 // Optimization to cache loaded feedback vector. | 111 // Optimization to cache loaded feedback vector. |
| 112 SetOncePointer<Node> feedback_vector_; | 112 SetOncePointer<Node> feedback_vector_; |
| 113 | 113 |
| 114 // Optimization to cache empty frame state. | 114 // Optimization to cache empty frame state. |
| 115 SetOncePointer<Node> empty_frame_state_; | 115 SetOncePointer<Node> empty_frame_state_; |
| (...skipping 495 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 611 | 611 |
| 612 // Prepare environment to be used as loop header. | 612 // Prepare environment to be used as loop header. |
| 613 void PrepareForLoop(BitVector* assigned, bool is_osr = false); | 613 void PrepareForLoop(BitVector* assigned, bool is_osr = false); |
| 614 }; | 614 }; |
| 615 | 615 |
| 616 } // namespace compiler | 616 } // namespace compiler |
| 617 } // namespace internal | 617 } // namespace internal |
| 618 } // namespace v8 | 618 } // namespace v8 |
| 619 | 619 |
| 620 #endif // V8_COMPILER_AST_GRAPH_BUILDER_H_ | 620 #endif // V8_COMPILER_AST_GRAPH_BUILDER_H_ |
| OLD | NEW |