| 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_INTERPRETER_CONTROL_FLOW_BUILDERS_H_ | 5 #ifndef V8_INTERPRETER_CONTROL_FLOW_BUILDERS_H_ |
| 6 #define V8_INTERPRETER_CONTROL_FLOW_BUILDERS_H_ | 6 #define V8_INTERPRETER_CONTROL_FLOW_BUILDERS_H_ |
| 7 | 7 |
| 8 #include "src/interpreter/bytecode-array-builder.h" | 8 #include "src/interpreter/bytecode-array-builder.h" |
| 9 | 9 |
| 10 #include "src/interpreter/bytecode-label.h" | 10 #include "src/interpreter/bytecode-label.h" |
| 11 #include "src/zone-containers.h" | 11 #include "src/zone/zone-containers.h" |
| 12 | 12 |
| 13 namespace v8 { | 13 namespace v8 { |
| 14 namespace internal { | 14 namespace internal { |
| 15 namespace interpreter { | 15 namespace interpreter { |
| 16 | 16 |
| 17 class ControlFlowBuilder BASE_EMBEDDED { | 17 class ControlFlowBuilder BASE_EMBEDDED { |
| 18 public: | 18 public: |
| 19 explicit ControlFlowBuilder(BytecodeArrayBuilder* builder) | 19 explicit ControlFlowBuilder(BytecodeArrayBuilder* builder) |
| 20 : builder_(builder) {} | 20 : builder_(builder) {} |
| 21 virtual ~ControlFlowBuilder() {} | 21 virtual ~ControlFlowBuilder() {} |
| (...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 | 183 |
| 184 // Unbound labels that identify jumps to the finally block in the code. | 184 // Unbound labels that identify jumps to the finally block in the code. |
| 185 BytecodeLabels finalization_sites_; | 185 BytecodeLabels finalization_sites_; |
| 186 }; | 186 }; |
| 187 | 187 |
| 188 } // namespace interpreter | 188 } // namespace interpreter |
| 189 } // namespace internal | 189 } // namespace internal |
| 190 } // namespace v8 | 190 } // namespace v8 |
| 191 | 191 |
| 192 #endif // V8_INTERPRETER_CONTROL_FLOW_BUILDERS_H_ | 192 #endif // V8_INTERPRETER_CONTROL_FLOW_BUILDERS_H_ |
| OLD | NEW |