| OLD | NEW |
| 1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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_BYTECODE_GRAPH_BUILDER_H_ | 5 #ifndef V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_ |
| 6 #define V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_ | 6 #define V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_ |
| 7 | 7 |
| 8 #include "src/compiler.h" | 8 #include "src/compiler.h" |
| 9 #include "src/compiler/bytecode-branch-analysis.h" | 9 #include "src/compiler/bytecode-branch-analysis.h" |
| 10 #include "src/compiler/js-graph.h" | 10 #include "src/compiler/js-graph.h" |
| (...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 212 | 212 |
| 213 Zone* local_zone_; | 213 Zone* local_zone_; |
| 214 JSGraph* jsgraph_; | 214 JSGraph* jsgraph_; |
| 215 Handle<BytecodeArray> bytecode_array_; | 215 Handle<BytecodeArray> bytecode_array_; |
| 216 Handle<HandlerTable> exception_handler_table_; | 216 Handle<HandlerTable> exception_handler_table_; |
| 217 Handle<TypeFeedbackVector> feedback_vector_; | 217 Handle<TypeFeedbackVector> feedback_vector_; |
| 218 const FrameStateFunctionInfo* frame_state_function_info_; | 218 const FrameStateFunctionInfo* frame_state_function_info_; |
| 219 const interpreter::BytecodeArrayIterator* bytecode_iterator_; | 219 const interpreter::BytecodeArrayIterator* bytecode_iterator_; |
| 220 const BytecodeBranchAnalysis* branch_analysis_; | 220 const BytecodeBranchAnalysis* branch_analysis_; |
| 221 Environment* environment_; | 221 Environment* environment_; |
| 222 BailoutId osr_ast_id_; |
| 222 | 223 |
| 223 // Merge environments are snapshots of the environment at points where the | 224 // Merge environments are snapshots of the environment at points where the |
| 224 // control flow merges. This models a forward data flow propagation of all | 225 // control flow merges. This models a forward data flow propagation of all |
| 225 // values from all predecessors of the merge in question. | 226 // values from all predecessors of the merge in question. |
| 226 ZoneMap<int, Environment*> merge_environments_; | 227 ZoneMap<int, Environment*> merge_environments_; |
| 227 | 228 |
| 228 // Exception handlers currently entered by the iteration. | 229 // Exception handlers currently entered by the iteration. |
| 229 ZoneStack<ExceptionHandler> exception_handlers_; | 230 ZoneStack<ExceptionHandler> exception_handlers_; |
| 230 int current_exception_handler_; | 231 int current_exception_handler_; |
| 231 | 232 |
| (...skipping 10 matching lines...) Expand all Loading... |
| 242 ZoneVector<Node*> exit_controls_; | 243 ZoneVector<Node*> exit_controls_; |
| 243 | 244 |
| 244 DISALLOW_COPY_AND_ASSIGN(BytecodeGraphBuilder); | 245 DISALLOW_COPY_AND_ASSIGN(BytecodeGraphBuilder); |
| 245 }; | 246 }; |
| 246 | 247 |
| 247 } // namespace compiler | 248 } // namespace compiler |
| 248 } // namespace internal | 249 } // namespace internal |
| 249 } // namespace v8 | 250 } // namespace v8 |
| 250 | 251 |
| 251 #endif // V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_ | 252 #endif // V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_ |
| OLD | NEW |