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_HEAP_HEAP_H_ | 5 #ifndef V8_HEAP_HEAP_H_ |
6 #define V8_HEAP_HEAP_H_ | 6 #define V8_HEAP_HEAP_H_ |
7 | 7 |
8 #include <cmath> | 8 #include <cmath> |
9 #include <map> | 9 #include <map> |
10 | 10 |
(...skipping 19 matching lines...) Expand all Loading... |
30 V(Map, one_pointer_filler_map, OnePointerFillerMap) \ | 30 V(Map, one_pointer_filler_map, OnePointerFillerMap) \ |
31 V(Map, two_pointer_filler_map, TwoPointerFillerMap) \ | 31 V(Map, two_pointer_filler_map, TwoPointerFillerMap) \ |
32 /* Cluster the most popular ones in a few cache lines here at the top. */ \ | 32 /* Cluster the most popular ones in a few cache lines here at the top. */ \ |
33 V(Smi, store_buffer_top, StoreBufferTop) \ | 33 V(Smi, store_buffer_top, StoreBufferTop) \ |
34 V(Oddball, undefined_value, UndefinedValue) \ | 34 V(Oddball, undefined_value, UndefinedValue) \ |
35 V(Oddball, the_hole_value, TheHoleValue) \ | 35 V(Oddball, the_hole_value, TheHoleValue) \ |
36 V(Oddball, null_value, NullValue) \ | 36 V(Oddball, null_value, NullValue) \ |
37 V(Oddball, true_value, TrueValue) \ | 37 V(Oddball, true_value, TrueValue) \ |
38 V(Oddball, false_value, FalseValue) \ | 38 V(Oddball, false_value, FalseValue) \ |
39 V(String, empty_string, empty_string) \ | 39 V(String, empty_string, empty_string) \ |
40 V(String, hidden_string, hidden_string) \ | |
41 V(Oddball, uninitialized_value, UninitializedValue) \ | 40 V(Oddball, uninitialized_value, UninitializedValue) \ |
42 V(Map, cell_map, CellMap) \ | 41 V(Map, cell_map, CellMap) \ |
43 V(Map, global_property_cell_map, GlobalPropertyCellMap) \ | 42 V(Map, global_property_cell_map, GlobalPropertyCellMap) \ |
44 V(Map, shared_function_info_map, SharedFunctionInfoMap) \ | 43 V(Map, shared_function_info_map, SharedFunctionInfoMap) \ |
45 V(Map, meta_map, MetaMap) \ | 44 V(Map, meta_map, MetaMap) \ |
46 V(Map, heap_number_map, HeapNumberMap) \ | 45 V(Map, heap_number_map, HeapNumberMap) \ |
47 V(Map, mutable_heap_number_map, MutableHeapNumberMap) \ | 46 V(Map, mutable_heap_number_map, MutableHeapNumberMap) \ |
48 V(Map, float32x4_map, Float32x4Map) \ | 47 V(Map, float32x4_map, Float32x4Map) \ |
49 V(Map, int32x4_map, Int32x4Map) \ | 48 V(Map, int32x4_map, Int32x4Map) \ |
50 V(Map, uint32x4_map, Uint32x4Map) \ | 49 V(Map, uint32x4_map, Uint32x4Map) \ |
(...skipping 2575 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2626 friend class LargeObjectSpace; | 2625 friend class LargeObjectSpace; |
2627 friend class NewSpace; | 2626 friend class NewSpace; |
2628 friend class PagedSpace; | 2627 friend class PagedSpace; |
2629 DISALLOW_COPY_AND_ASSIGN(AllocationObserver); | 2628 DISALLOW_COPY_AND_ASSIGN(AllocationObserver); |
2630 }; | 2629 }; |
2631 | 2630 |
2632 } // namespace internal | 2631 } // namespace internal |
2633 } // namespace v8 | 2632 } // namespace v8 |
2634 | 2633 |
2635 #endif // V8_HEAP_HEAP_H_ | 2634 #endif // V8_HEAP_HEAP_H_ |
OLD | NEW |