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

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

Issue 2405253006: [builtins] implement Array.prototype[@@iterator] in TFJ builtins (Closed)
Patch Set: add array_iterator_protector, and check array_protector in holey fast arrays Created 4 years, 2 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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 V(Script, empty_script, EmptyScript) \ 156 V(Script, empty_script, EmptyScript) \
157 V(Cell, undefined_cell, UndefinedCell) \ 157 V(Cell, undefined_cell, UndefinedCell) \
158 V(FixedArray, empty_sloppy_arguments_elements, EmptySloppyArgumentsElements) \ 158 V(FixedArray, empty_sloppy_arguments_elements, EmptySloppyArgumentsElements) \
159 V(SeededNumberDictionary, empty_slow_element_dictionary, \ 159 V(SeededNumberDictionary, empty_slow_element_dictionary, \
160 EmptySlowElementDictionary) \ 160 EmptySlowElementDictionary) \
161 V(TypeFeedbackVector, dummy_vector, DummyVector) \ 161 V(TypeFeedbackVector, dummy_vector, DummyVector) \
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(PropertyCell, array_iterator_protector, ArrayIteratorProtector) \
166 V(Cell, is_concat_spreadable_protector, IsConcatSpreadableProtector) \ 167 V(Cell, is_concat_spreadable_protector, IsConcatSpreadableProtector) \
167 V(PropertyCell, has_instance_protector, HasInstanceProtector) \ 168 V(PropertyCell, has_instance_protector, HasInstanceProtector) \
168 V(Cell, species_protector, SpeciesProtector) \ 169 V(Cell, species_protector, SpeciesProtector) \
169 V(PropertyCell, string_length_protector, StringLengthProtector) \ 170 V(PropertyCell, string_length_protector, StringLengthProtector) \
170 /* Special numbers */ \ 171 /* Special numbers */ \
171 V(HeapNumber, nan_value, NanValue) \ 172 V(HeapNumber, nan_value, NanValue) \
172 V(HeapNumber, hole_nan_value, HoleNanValue) \ 173 V(HeapNumber, hole_nan_value, HoleNanValue) \
173 V(HeapNumber, infinity_value, InfinityValue) \ 174 V(HeapNumber, infinity_value, InfinityValue) \
174 V(HeapNumber, minus_zero_value, MinusZeroValue) \ 175 V(HeapNumber, minus_zero_value, MinusZeroValue) \
175 V(HeapNumber, minus_infinity_value, MinusInfinityValue) \ 176 V(HeapNumber, minus_infinity_value, MinusInfinityValue) \
(...skipping 2463 matching lines...) Expand 10 before | Expand all | Expand 10 after
2639 } 2640 }
2640 2641
2641 private: 2642 private:
2642 Heap* heap_; 2643 Heap* heap_;
2643 }; 2644 };
2644 2645
2645 } // namespace internal 2646 } // namespace internal
2646 } // namespace v8 2647 } // namespace v8
2647 2648
2648 #endif // V8_HEAP_HEAP_H_ 2649 #endif // V8_HEAP_HEAP_H_
OLDNEW
« src/builtins/builtins-array.cc ('K') | « src/heap-symbols.h ('k') | src/heap/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698