Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(22)

Side by Side Diff: src/heap/heap.h

Issue 2617363003: Use map to distinguish type feedback vectors. (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | src/heap/heap.cc » ('j') | src/type-feedback-vector-inl.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 /* Maps */ \ 87 /* Maps */ \
88 V(Map, fixed_double_array_map, FixedDoubleArrayMap) \ 88 V(Map, fixed_double_array_map, FixedDoubleArrayMap) \
89 V(Map, mutable_heap_number_map, MutableHeapNumberMap) \ 89 V(Map, mutable_heap_number_map, MutableHeapNumberMap) \
90 V(Map, ordered_hash_table_map, OrderedHashTableMap) \ 90 V(Map, ordered_hash_table_map, OrderedHashTableMap) \
91 V(Map, unseeded_number_dictionary_map, UnseededNumberDictionaryMap) \ 91 V(Map, unseeded_number_dictionary_map, UnseededNumberDictionaryMap) \
92 V(Map, sloppy_arguments_elements_map, SloppyArgumentsElementsMap) \ 92 V(Map, sloppy_arguments_elements_map, SloppyArgumentsElementsMap) \
93 V(Map, message_object_map, JSMessageObjectMap) \ 93 V(Map, message_object_map, JSMessageObjectMap) \
94 V(Map, external_map, ExternalMap) \ 94 V(Map, external_map, ExternalMap) \
95 V(Map, bytecode_array_map, BytecodeArrayMap) \ 95 V(Map, bytecode_array_map, BytecodeArrayMap) \
96 V(Map, module_info_map, ModuleInfoMap) \ 96 V(Map, module_info_map, ModuleInfoMap) \
97 V(Map, type_feedback_vector_map, TypeFeedbackVectorMap) \
97 /* String maps */ \ 98 /* String maps */ \
98 V(Map, native_source_string_map, NativeSourceStringMap) \ 99 V(Map, native_source_string_map, NativeSourceStringMap) \
99 V(Map, string_map, StringMap) \ 100 V(Map, string_map, StringMap) \
100 V(Map, cons_one_byte_string_map, ConsOneByteStringMap) \ 101 V(Map, cons_one_byte_string_map, ConsOneByteStringMap) \
101 V(Map, cons_string_map, ConsStringMap) \ 102 V(Map, cons_string_map, ConsStringMap) \
102 V(Map, sliced_string_map, SlicedStringMap) \ 103 V(Map, sliced_string_map, SlicedStringMap) \
103 V(Map, sliced_one_byte_string_map, SlicedOneByteStringMap) \ 104 V(Map, sliced_one_byte_string_map, SlicedOneByteStringMap) \
104 V(Map, external_string_map, ExternalStringMap) \ 105 V(Map, external_string_map, ExternalStringMap) \
105 V(Map, external_string_with_one_byte_data_map, \ 106 V(Map, external_string_with_one_byte_data_map, \
106 ExternalStringWithOneByteDataMap) \ 107 ExternalStringWithOneByteDataMap) \
(...skipping 2570 matching lines...) Expand 10 before | Expand all | Expand 10 after
2677 friend class LargeObjectSpace; 2678 friend class LargeObjectSpace;
2678 friend class NewSpace; 2679 friend class NewSpace;
2679 friend class PagedSpace; 2680 friend class PagedSpace;
2680 DISALLOW_COPY_AND_ASSIGN(AllocationObserver); 2681 DISALLOW_COPY_AND_ASSIGN(AllocationObserver);
2681 }; 2682 };
2682 2683
2683 } // namespace internal 2684 } // namespace internal
2684 } // namespace v8 2685 } // namespace v8
2685 2686
2686 #endif // V8_HEAP_HEAP_H_ 2687 #endif // V8_HEAP_HEAP_H_
OLDNEW
« no previous file with comments | « no previous file | src/heap/heap.cc » ('j') | src/type-feedback-vector-inl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698