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

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

Issue 2102073002: [ic] Use UnseededNumberDictionary as a storage for names in TypeFeedbackMetadata. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 5 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') | no next file with comments »
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 28 matching lines...) Expand all
39 V(Oddball, the_hole_value, TheHoleValue) \ 39 V(Oddball, the_hole_value, TheHoleValue) \
40 V(Oddball, null_value, NullValue) \ 40 V(Oddball, null_value, NullValue) \
41 V(Oddball, true_value, TrueValue) \ 41 V(Oddball, true_value, TrueValue) \
42 V(Oddball, false_value, FalseValue) \ 42 V(Oddball, false_value, FalseValue) \
43 V(String, empty_string, empty_string) \ 43 V(String, empty_string, empty_string) \
44 V(Map, meta_map, MetaMap) \ 44 V(Map, meta_map, MetaMap) \
45 V(Map, byte_array_map, ByteArrayMap) \ 45 V(Map, byte_array_map, ByteArrayMap) \
46 V(Map, fixed_array_map, FixedArrayMap) \ 46 V(Map, fixed_array_map, FixedArrayMap) \
47 V(Map, fixed_cow_array_map, FixedCOWArrayMap) \ 47 V(Map, fixed_cow_array_map, FixedCOWArrayMap) \
48 V(Map, hash_table_map, HashTableMap) \ 48 V(Map, hash_table_map, HashTableMap) \
49 V(Map, unseeded_number_dictionary_map, UnseededNumberDictionaryMap) \
Yang 2016/06/28 17:10:31 Please do NOT put the map randomly into the first
49 V(Map, symbol_map, SymbolMap) \ 50 V(Map, symbol_map, SymbolMap) \
50 V(Map, one_byte_string_map, OneByteStringMap) \ 51 V(Map, one_byte_string_map, OneByteStringMap) \
51 V(Map, one_byte_internalized_string_map, OneByteInternalizedStringMap) \ 52 V(Map, one_byte_internalized_string_map, OneByteInternalizedStringMap) \
52 V(Map, scope_info_map, ScopeInfoMap) \ 53 V(Map, scope_info_map, ScopeInfoMap) \
53 V(Map, shared_function_info_map, SharedFunctionInfoMap) \ 54 V(Map, shared_function_info_map, SharedFunctionInfoMap) \
54 V(Map, code_map, CodeMap) \ 55 V(Map, code_map, CodeMap) \
55 V(Map, function_context_map, FunctionContextMap) \ 56 V(Map, function_context_map, FunctionContextMap) \
56 V(Map, cell_map, CellMap) \ 57 V(Map, cell_map, CellMap) \
57 V(Map, weak_cell_map, WeakCellMap) \ 58 V(Map, weak_cell_map, WeakCellMap) \
58 V(Map, global_property_cell_map, GlobalPropertyCellMap) \ 59 V(Map, global_property_cell_map, GlobalPropertyCellMap) \
(...skipping 2638 matching lines...) Expand 10 before | Expand all | Expand 10 after
2697 friend class LargeObjectSpace; 2698 friend class LargeObjectSpace;
2698 friend class NewSpace; 2699 friend class NewSpace;
2699 friend class PagedSpace; 2700 friend class PagedSpace;
2700 DISALLOW_COPY_AND_ASSIGN(AllocationObserver); 2701 DISALLOW_COPY_AND_ASSIGN(AllocationObserver);
2701 }; 2702 };
2702 2703
2703 } // namespace internal 2704 } // namespace internal
2704 } // namespace v8 2705 } // namespace v8
2705 2706
2706 #endif // V8_HEAP_HEAP_H_ 2707 #endif // V8_HEAP_HEAP_H_
OLDNEW
« no previous file with comments | « no previous file | src/heap/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698