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_OBJECTS_SCOPE_INFO_H_ | 5 #ifndef V8_OBJECTS_SCOPE_INFO_H_ |
6 #define V8_OBJECTS_SCOPE_INFO_H_ | 6 #define V8_OBJECTS_SCOPE_INFO_H_ |
7 | 7 |
8 #include "src/globals.h" | 8 #include "src/globals.h" |
9 #include "src/handles.h" | 9 #include "src/handles.h" |
10 #include "src/objects.h" | 10 #include "src/objects.h" |
| 11 #include "src/utils.h" |
| 12 |
| 13 // Has to be the last include (doesn't have include guards): |
11 #include "src/objects/object-macros.h" | 14 #include "src/objects/object-macros.h" |
12 #include "src/utils.h" | |
13 | 15 |
14 namespace v8 { | 16 namespace v8 { |
15 namespace internal { | 17 namespace internal { |
16 | 18 |
17 class Isolate; | 19 class Isolate; |
18 class Scope; | 20 class Scope; |
19 class Zone; | 21 class Zone; |
20 | 22 |
21 // ScopeInfo represents information about different scopes of a source | 23 // ScopeInfo represents information about different scopes of a source |
22 // program and the allocation of the scope's variables. Scope information | 24 // program and the allocation of the scope's variables. Scope information |
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
334 | 336 |
335 friend class ScopeIterator; | 337 friend class ScopeIterator; |
336 }; | 338 }; |
337 | 339 |
338 } // namespace internal | 340 } // namespace internal |
339 } // namespace v8 | 341 } // namespace v8 |
340 | 342 |
341 #include "src/objects/object-macros-undef.h" | 343 #include "src/objects/object-macros-undef.h" |
342 | 344 |
343 #endif // V8_OBJECTS_SCOPE_INFO_H_ | 345 #endif // V8_OBJECTS_SCOPE_INFO_H_ |
OLD | NEW |