| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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_VARIABLES_H_ | 5 #ifndef V8_VARIABLES_H_ |
| 6 #define V8_VARIABLES_H_ | 6 #define V8_VARIABLES_H_ |
| 7 | 7 |
| 8 #include "src/interface.h" |
| 8 #include "src/zone.h" | 9 #include "src/zone.h" |
| 9 #include "src/interface.h" | |
| 10 | 10 |
| 11 namespace v8 { | 11 namespace v8 { |
| 12 namespace internal { | 12 namespace internal { |
| 13 | 13 |
| 14 // The AST refers to variables via VariableProxies - placeholders for the actual | 14 // The AST refers to variables via VariableProxies - placeholders for the actual |
| 15 // variables. Variables themselves are never directly referred to from the AST, | 15 // variables. Variables themselves are never directly referred to from the AST, |
| 16 // they are maintained by scopes, and referred to from VariableProxies and Slots | 16 // they are maintained by scopes, and referred to from VariableProxies and Slots |
| 17 // after binding and variable allocation. | 17 // after binding and variable allocation. |
| 18 | 18 |
| 19 class Variable: public ZoneObject { | 19 class Variable: public ZoneObject { |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 158 InitializationFlag initialization_flag_; | 158 InitializationFlag initialization_flag_; |
| 159 | 159 |
| 160 // Module type info. | 160 // Module type info. |
| 161 Interface* interface_; | 161 Interface* interface_; |
| 162 }; | 162 }; |
| 163 | 163 |
| 164 | 164 |
| 165 } } // namespace v8::internal | 165 } } // namespace v8::internal |
| 166 | 166 |
| 167 #endif // V8_VARIABLES_H_ | 167 #endif // V8_VARIABLES_H_ |
| OLD | NEW |