| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 27 | 27 |
| 28 #ifndef V8_GLOBAL_HANDLES_H_ | 28 #ifndef V8_GLOBAL_HANDLES_H_ |
| 29 #define V8_GLOBAL_HANDLES_H_ | 29 #define V8_GLOBAL_HANDLES_H_ |
| 30 | 30 |
| 31 #include "../include/v8.h" | 31 #include "../include/v8.h" |
| 32 #include "../include/v8-profiler.h" | 32 #include "../include/v8-profiler.h" |
| 33 | 33 |
| 34 #include "handles.h" | 34 #include "handles.h" |
| 35 #include "list.h" | 35 #include "list.h" |
| 36 #include "v8utils.h" | 36 #include "utils.h" |
| 37 | 37 |
| 38 namespace v8 { | 38 namespace v8 { |
| 39 namespace internal { | 39 namespace internal { |
| 40 | 40 |
| 41 class GCTracer; | 41 class GCTracer; |
| 42 class HeapStats; | 42 class HeapStats; |
| 43 class ObjectVisitor; | 43 class ObjectVisitor; |
| 44 | 44 |
| 45 // Structure for tracking global handles. | 45 // Structure for tracking global handles. |
| 46 // A single list keeps all the allocated global handles. | 46 // A single list keeps all the allocated global handles. |
| (...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 401 List<int> new_space_indices_; | 401 List<int> new_space_indices_; |
| 402 int singleton_handles_[NUMBER_OF_SINGLETON_HANDLES]; | 402 int singleton_handles_[NUMBER_OF_SINGLETON_HANDLES]; |
| 403 | 403 |
| 404 DISALLOW_COPY_AND_ASSIGN(EternalHandles); | 404 DISALLOW_COPY_AND_ASSIGN(EternalHandles); |
| 405 }; | 405 }; |
| 406 | 406 |
| 407 | 407 |
| 408 } } // namespace v8::internal | 408 } } // namespace v8::internal |
| 409 | 409 |
| 410 #endif // V8_GLOBAL_HANDLES_H_ | 410 #endif // V8_GLOBAL_HANDLES_H_ |
| OLD | NEW |