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/zone-containers.h" | 11 #include "src/zone-containers.h" |
11 | 12 |
12 namespace v8 { | 13 namespace v8 { |
13 namespace internal { | 14 namespace internal { |
14 namespace interpreter { | 15 namespace interpreter { |
15 | 16 |
16 class ControlFlowBuilder BASE_EMBEDDED { | 17 class ControlFlowBuilder BASE_EMBEDDED { |
17 public: | 18 public: |
18 explicit ControlFlowBuilder(BytecodeArrayBuilder* builder) | 19 explicit ControlFlowBuilder(BytecodeArrayBuilder* builder) |
19 : builder_(builder) {} | 20 : builder_(builder) {} |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 // this finally block will be caught. Note that such a prediction depends on | 185 // this finally block will be caught. Note that such a prediction depends on |
185 // whether this try-finally is nested inside a surrounding try-catch. | 186 // whether this try-finally is nested inside a surrounding try-catch. |
186 bool will_catch_; | 187 bool will_catch_; |
187 }; | 188 }; |
188 | 189 |
189 } // namespace interpreter | 190 } // namespace interpreter |
190 } // namespace internal | 191 } // namespace internal |
191 } // namespace v8 | 192 } // namespace v8 |
192 | 193 |
193 #endif // V8_INTERPRETER_CONTROL_FLOW_BUILDERS_H_ | 194 #endif // V8_INTERPRETER_CONTROL_FLOW_BUILDERS_H_ |
OLD | NEW |