OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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_ZONE_H_ | 5 #ifndef V8_ZONE_H_ |
6 #define V8_ZONE_H_ | 6 #define V8_ZONE_H_ |
7 | 7 |
8 #include "allocation.h" | 8 #include "src/allocation.h" |
9 #include "checks.h" | 9 #include "src/checks.h" |
10 #include "hashmap.h" | 10 #include "src/hashmap.h" |
11 #include "globals.h" | 11 #include "src/globals.h" |
12 #include "list.h" | 12 #include "src/list.h" |
13 #include "splay-tree.h" | 13 #include "src/splay-tree.h" |
14 | 14 |
15 namespace v8 { | 15 namespace v8 { |
16 namespace internal { | 16 namespace internal { |
17 | 17 |
18 | 18 |
19 class Segment; | 19 class Segment; |
20 class Isolate; | 20 class Isolate; |
21 | 21 |
22 // The Zone supports very fast allocation of small chunks of | 22 // The Zone supports very fast allocation of small chunks of |
23 // memory. The chunks cannot be deallocated individually, but instead | 23 // memory. The chunks cannot be deallocated individually, but instead |
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
234 void operator delete(void* pointer) { UNREACHABLE(); } | 234 void operator delete(void* pointer) { UNREACHABLE(); } |
235 void operator delete(void* pointer, Zone* zone) { UNREACHABLE(); } | 235 void operator delete(void* pointer, Zone* zone) { UNREACHABLE(); } |
236 }; | 236 }; |
237 | 237 |
238 | 238 |
239 typedef TemplateHashMapImpl<ZoneAllocationPolicy> ZoneHashMap; | 239 typedef TemplateHashMapImpl<ZoneAllocationPolicy> ZoneHashMap; |
240 | 240 |
241 } } // namespace v8::internal | 241 } } // namespace v8::internal |
242 | 242 |
243 #endif // V8_ZONE_H_ | 243 #endif // V8_ZONE_H_ |
OLD | NEW |