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

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

Issue 2684033012: [es2015] Remove the @@hasInstance protector cell. (Closed)
Patch Set: 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
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 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 V(Script, empty_script, EmptyScript) \ 157 V(Script, empty_script, EmptyScript) \
158 V(Cell, undefined_cell, UndefinedCell) \ 158 V(Cell, undefined_cell, UndefinedCell) \
159 V(FixedArray, empty_sloppy_arguments_elements, EmptySloppyArgumentsElements) \ 159 V(FixedArray, empty_sloppy_arguments_elements, EmptySloppyArgumentsElements) \
160 V(SeededNumberDictionary, empty_slow_element_dictionary, \ 160 V(SeededNumberDictionary, empty_slow_element_dictionary, \
161 EmptySlowElementDictionary) \ 161 EmptySlowElementDictionary) \
162 V(PropertyCell, empty_property_cell, EmptyPropertyCell) \ 162 V(PropertyCell, empty_property_cell, EmptyPropertyCell) \
163 V(WeakCell, empty_weak_cell, EmptyWeakCell) \ 163 V(WeakCell, empty_weak_cell, EmptyWeakCell) \
164 /* Protectors */ \ 164 /* Protectors */ \
165 V(PropertyCell, array_protector, ArrayProtector) \ 165 V(PropertyCell, array_protector, ArrayProtector) \
166 V(Cell, is_concat_spreadable_protector, IsConcatSpreadableProtector) \ 166 V(Cell, is_concat_spreadable_protector, IsConcatSpreadableProtector) \
167 V(PropertyCell, has_instance_protector, HasInstanceProtector) \
168 V(Cell, species_protector, SpeciesProtector) \ 167 V(Cell, species_protector, SpeciesProtector) \
169 V(PropertyCell, string_length_protector, StringLengthProtector) \ 168 V(PropertyCell, string_length_protector, StringLengthProtector) \
170 V(Cell, fast_array_iteration_protector, FastArrayIterationProtector) \ 169 V(Cell, fast_array_iteration_protector, FastArrayIterationProtector) \
171 V(PropertyCell, array_iterator_protector, ArrayIteratorProtector) \ 170 V(PropertyCell, array_iterator_protector, ArrayIteratorProtector) \
172 V(PropertyCell, array_buffer_neutering_protector, \ 171 V(PropertyCell, array_buffer_neutering_protector, \
173 ArrayBufferNeuteringProtector) \ 172 ArrayBufferNeuteringProtector) \
174 /* Special numbers */ \ 173 /* Special numbers */ \
175 V(HeapNumber, nan_value, NanValue) \ 174 V(HeapNumber, nan_value, NanValue) \
176 V(HeapNumber, hole_nan_value, HoleNanValue) \ 175 V(HeapNumber, hole_nan_value, HoleNanValue) \
177 V(HeapNumber, infinity_value, InfinityValue) \ 176 V(HeapNumber, infinity_value, InfinityValue) \
(...skipping 2503 matching lines...) Expand 10 before | Expand all | Expand 10 after
2681 friend class LargeObjectSpace; 2680 friend class LargeObjectSpace;
2682 friend class NewSpace; 2681 friend class NewSpace;
2683 friend class PagedSpace; 2682 friend class PagedSpace;
2684 DISALLOW_COPY_AND_ASSIGN(AllocationObserver); 2683 DISALLOW_COPY_AND_ASSIGN(AllocationObserver);
2685 }; 2684 };
2686 2685
2687 } // namespace internal 2686 } // namespace internal
2688 } // namespace v8 2687 } // namespace v8
2689 2688
2690 #endif // V8_HEAP_HEAP_H_ 2689 #endif // V8_HEAP_HEAP_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698