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

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

Issue 2673383002: [ic] Encode LoadGlobalIC's typeof mode in slot kind instead of code object's flags. (Closed)
Patch Set: Addressed comments and added check to FCG Created 3 years, 10 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 | « src/full-codegen/full-codegen.cc ('k') | 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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 V(FixedTypedArrayBase, empty_fixed_int32_array, EmptyFixedInt32Array) \ 153 V(FixedTypedArrayBase, empty_fixed_int32_array, EmptyFixedInt32Array) \
154 V(FixedTypedArrayBase, empty_fixed_float32_array, EmptyFixedFloat32Array) \ 154 V(FixedTypedArrayBase, empty_fixed_float32_array, EmptyFixedFloat32Array) \
155 V(FixedTypedArrayBase, empty_fixed_float64_array, EmptyFixedFloat64Array) \ 155 V(FixedTypedArrayBase, empty_fixed_float64_array, EmptyFixedFloat64Array) \
156 V(FixedTypedArrayBase, empty_fixed_uint8_clamped_array, \ 156 V(FixedTypedArrayBase, empty_fixed_uint8_clamped_array, \
157 EmptyFixedUint8ClampedArray) \ 157 EmptyFixedUint8ClampedArray) \
158 V(Script, empty_script, EmptyScript) \ 158 V(Script, empty_script, EmptyScript) \
159 V(Cell, undefined_cell, UndefinedCell) \ 159 V(Cell, undefined_cell, UndefinedCell) \
160 V(FixedArray, empty_sloppy_arguments_elements, EmptySloppyArgumentsElements) \ 160 V(FixedArray, empty_sloppy_arguments_elements, EmptySloppyArgumentsElements) \
161 V(SeededNumberDictionary, empty_slow_element_dictionary, \ 161 V(SeededNumberDictionary, empty_slow_element_dictionary, \
162 EmptySlowElementDictionary) \ 162 EmptySlowElementDictionary) \
163 V(TypeFeedbackVector, dummy_vector, DummyVector) \
164 V(PropertyCell, empty_property_cell, EmptyPropertyCell) \ 163 V(PropertyCell, empty_property_cell, EmptyPropertyCell) \
165 V(WeakCell, empty_weak_cell, EmptyWeakCell) \ 164 V(WeakCell, empty_weak_cell, EmptyWeakCell) \
166 /* Protectors */ \ 165 /* Protectors */ \
167 V(PropertyCell, array_protector, ArrayProtector) \ 166 V(PropertyCell, array_protector, ArrayProtector) \
168 V(Cell, is_concat_spreadable_protector, IsConcatSpreadableProtector) \ 167 V(Cell, is_concat_spreadable_protector, IsConcatSpreadableProtector) \
169 V(PropertyCell, has_instance_protector, HasInstanceProtector) \ 168 V(PropertyCell, has_instance_protector, HasInstanceProtector) \
170 V(Cell, species_protector, SpeciesProtector) \ 169 V(Cell, species_protector, SpeciesProtector) \
171 V(PropertyCell, string_length_protector, StringLengthProtector) \ 170 V(PropertyCell, string_length_protector, StringLengthProtector) \
172 V(Cell, fast_array_iteration_protector, FastArrayIterationProtector) \ 171 V(Cell, fast_array_iteration_protector, FastArrayIterationProtector) \
173 V(PropertyCell, array_iterator_protector, ArrayIteratorProtector) \ 172 V(PropertyCell, array_iterator_protector, ArrayIteratorProtector) \
(...skipping 2519 matching lines...) Expand 10 before | Expand all | Expand 10 after
2693 friend class LargeObjectSpace; 2692 friend class LargeObjectSpace;
2694 friend class NewSpace; 2693 friend class NewSpace;
2695 friend class PagedSpace; 2694 friend class PagedSpace;
2696 DISALLOW_COPY_AND_ASSIGN(AllocationObserver); 2695 DISALLOW_COPY_AND_ASSIGN(AllocationObserver);
2697 }; 2696 };
2698 2697
2699 } // namespace internal 2698 } // namespace internal
2700 } // namespace v8 2699 } // namespace v8
2701 2700
2702 #endif // V8_HEAP_HEAP_H_ 2701 #endif // V8_HEAP_HEAP_H_
OLDNEW
« no previous file with comments | « src/full-codegen/full-codegen.cc ('k') | src/heap/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698