OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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_CONTROL_BUILDERS_H_ | 5 #ifndef V8_COMPILER_CONTROL_BUILDERS_H_ |
6 #define V8_COMPILER_CONTROL_BUILDERS_H_ | 6 #define V8_COMPILER_CONTROL_BUILDERS_H_ |
7 | 7 |
8 #include "src/v8.h" | |
9 | |
10 #include "src/compiler/ast-graph-builder.h" | 8 #include "src/compiler/ast-graph-builder.h" |
11 #include "src/compiler/node.h" | 9 #include "src/compiler/node.h" |
12 | 10 |
13 namespace v8 { | 11 namespace v8 { |
14 namespace internal { | 12 namespace internal { |
15 namespace compiler { | 13 namespace compiler { |
16 | 14 |
17 // Base class for all control builders. Also provides a common interface for | 15 // Base class for all control builders. Also provides a common interface for |
18 // control builders to handle 'break' statements when they are used to model | 16 // control builders to handle 'break' statements when they are used to model |
19 // breakable statements. | 17 // breakable statements. |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 private: | 181 private: |
184 Environment* finally_environment_; // Environment for the 'finally' body. | 182 Environment* finally_environment_; // Environment for the 'finally' body. |
185 Node* token_node_; // Node for token in 'finally' body. | 183 Node* token_node_; // Node for token in 'finally' body. |
186 }; | 184 }; |
187 | 185 |
188 } // namespace compiler | 186 } // namespace compiler |
189 } // namespace internal | 187 } // namespace internal |
190 } // namespace v8 | 188 } // namespace v8 |
191 | 189 |
192 #endif // V8_COMPILER_CONTROL_BUILDERS_H_ | 190 #endif // V8_COMPILER_CONTROL_BUILDERS_H_ |
OLD | NEW |