OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium 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 BlinkGC_h | 5 #ifndef BlinkGC_h |
6 #define BlinkGC_h | 6 #define BlinkGC_h |
7 | 7 |
8 // BlinkGC.h is a file that defines common things used by Blink GC. | 8 // BlinkGC.h is a file that defines common things used by Blink GC. |
9 | 9 |
| 10 #include "platform/PlatformExport.h" |
10 #include "wtf/Allocator.h" | 11 #include "wtf/Allocator.h" |
11 | 12 |
12 namespace blink { | 13 namespace blink { |
13 | 14 |
14 class Visitor; | 15 class Visitor; |
15 | 16 |
16 #define PRINT_HEAP_STATS 0 // Enable this macro to print heap stats to stderr. | 17 #define PRINT_HEAP_STATS 0 // Enable this macro to print heap stats to stderr. |
17 | 18 |
18 using Address = uint8_t*; | 19 using Address = uint8_t*; |
19 | 20 |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 | 113 |
113 enum V8GCType { | 114 enum V8GCType { |
114 V8MinorGC, | 115 V8MinorGC, |
115 V8MajorGC, | 116 V8MajorGC, |
116 }; | 117 }; |
117 }; | 118 }; |
118 | 119 |
119 } // namespace blink | 120 } // namespace blink |
120 | 121 |
121 #endif | 122 #endif |
OLD | NEW |