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

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

Issue 2684033012: [es2015] Remove the @@hasInstance protector cell. (Closed)
Patch Set: REBASE 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/x87/full-codegen-x87.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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 V(Script, empty_script, EmptyScript) \ 160 V(Script, empty_script, EmptyScript) \
161 V(Cell, undefined_cell, UndefinedCell) \ 161 V(Cell, undefined_cell, UndefinedCell) \
162 V(FixedArray, empty_sloppy_arguments_elements, EmptySloppyArgumentsElements) \ 162 V(FixedArray, empty_sloppy_arguments_elements, EmptySloppyArgumentsElements) \
163 V(SeededNumberDictionary, empty_slow_element_dictionary, \ 163 V(SeededNumberDictionary, empty_slow_element_dictionary, \
164 EmptySlowElementDictionary) \ 164 EmptySlowElementDictionary) \
165 V(PropertyCell, empty_property_cell, EmptyPropertyCell) \ 165 V(PropertyCell, empty_property_cell, EmptyPropertyCell) \
166 V(WeakCell, empty_weak_cell, EmptyWeakCell) \ 166 V(WeakCell, empty_weak_cell, EmptyWeakCell) \
167 /* Protectors */ \ 167 /* Protectors */ \
168 V(PropertyCell, array_protector, ArrayProtector) \ 168 V(PropertyCell, array_protector, ArrayProtector) \
169 V(Cell, is_concat_spreadable_protector, IsConcatSpreadableProtector) \ 169 V(Cell, is_concat_spreadable_protector, IsConcatSpreadableProtector) \
170 V(PropertyCell, has_instance_protector, HasInstanceProtector) \
171 V(Cell, species_protector, SpeciesProtector) \ 170 V(Cell, species_protector, SpeciesProtector) \
172 V(PropertyCell, string_length_protector, StringLengthProtector) \ 171 V(PropertyCell, string_length_protector, StringLengthProtector) \
173 V(Cell, fast_array_iteration_protector, FastArrayIterationProtector) \ 172 V(Cell, fast_array_iteration_protector, FastArrayIterationProtector) \
174 V(PropertyCell, array_iterator_protector, ArrayIteratorProtector) \ 173 V(PropertyCell, array_iterator_protector, ArrayIteratorProtector) \
175 V(PropertyCell, array_buffer_neutering_protector, \ 174 V(PropertyCell, array_buffer_neutering_protector, \
176 ArrayBufferNeuteringProtector) \ 175 ArrayBufferNeuteringProtector) \
177 /* Special numbers */ \ 176 /* Special numbers */ \
178 V(HeapNumber, nan_value, NanValue) \ 177 V(HeapNumber, nan_value, NanValue) \
179 V(HeapNumber, hole_nan_value, HoleNanValue) \ 178 V(HeapNumber, hole_nan_value, HoleNanValue) \
180 V(HeapNumber, infinity_value, InfinityValue) \ 179 V(HeapNumber, infinity_value, InfinityValue) \
(...skipping 2486 matching lines...) Expand 10 before | Expand all | Expand 10 after
2667 friend class LargeObjectSpace; 2666 friend class LargeObjectSpace;
2668 friend class NewSpace; 2667 friend class NewSpace;
2669 friend class PagedSpace; 2668 friend class PagedSpace;
2670 DISALLOW_COPY_AND_ASSIGN(AllocationObserver); 2669 DISALLOW_COPY_AND_ASSIGN(AllocationObserver);
2671 }; 2670 };
2672 2671
2673 } // namespace internal 2672 } // namespace internal
2674 } // namespace v8 2673 } // namespace v8
2675 2674
2676 #endif // V8_HEAP_HEAP_H_ 2675 #endif // V8_HEAP_HEAP_H_
OLDNEW
« no previous file with comments | « src/full-codegen/x87/full-codegen-x87.cc ('k') | src/heap/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698