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_GLOBAL_HANDLES_H_ | 5 #ifndef V8_GLOBAL_HANDLES_H_ |
6 #define V8_GLOBAL_HANDLES_H_ | 6 #define V8_GLOBAL_HANDLES_H_ |
7 | 7 |
8 #include "../include/v8.h" | 8 #include "include/v8.h" |
9 #include "../include/v8-profiler.h" | 9 #include "include/v8-profiler.h" |
10 | 10 |
11 #include "handles.h" | 11 #include "src/handles.h" |
12 #include "list.h" | 12 #include "src/list.h" |
13 #include "utils.h" | 13 #include "src/utils.h" |
14 | 14 |
15 namespace v8 { | 15 namespace v8 { |
16 namespace internal { | 16 namespace internal { |
17 | 17 |
18 class GCTracer; | 18 class GCTracer; |
19 class HeapStats; | 19 class HeapStats; |
20 class ObjectVisitor; | 20 class ObjectVisitor; |
21 | 21 |
22 // Structure for tracking global handles. | 22 // Structure for tracking global handles. |
23 // A single list keeps all the allocated global handles. | 23 // A single list keeps all the allocated global handles. |
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
378 List<int> new_space_indices_; | 378 List<int> new_space_indices_; |
379 int singleton_handles_[NUMBER_OF_SINGLETON_HANDLES]; | 379 int singleton_handles_[NUMBER_OF_SINGLETON_HANDLES]; |
380 | 380 |
381 DISALLOW_COPY_AND_ASSIGN(EternalHandles); | 381 DISALLOW_COPY_AND_ASSIGN(EternalHandles); |
382 }; | 382 }; |
383 | 383 |
384 | 384 |
385 } } // namespace v8::internal | 385 } } // namespace v8::internal |
386 | 386 |
387 #endif // V8_GLOBAL_HANDLES_H_ | 387 #endif // V8_GLOBAL_HANDLES_H_ |
OLD | NEW |