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

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

Issue 2357433002: Revert of [crankshaft] Protect against deopt loops from string length overflows. (Closed)
Patch Set: Created 4 years, 3 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/factory.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 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
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(Cell, is_concat_spreadable_protector, IsConcatSpreadableProtector) \ 166 V(Cell, is_concat_spreadable_protector, IsConcatSpreadableProtector) \
167 V(PropertyCell, has_instance_protector, HasInstanceProtector) \ 167 V(PropertyCell, has_instance_protector, HasInstanceProtector) \
168 V(Cell, species_protector, SpeciesProtector) \ 168 V(Cell, species_protector, SpeciesProtector) \
169 V(PropertyCell, string_length_protector, StringLengthProtector) \
170 /* Special numbers */ \ 169 /* Special numbers */ \
171 V(HeapNumber, nan_value, NanValue) \ 170 V(HeapNumber, nan_value, NanValue) \
172 V(HeapNumber, hole_nan_value, HoleNanValue) \ 171 V(HeapNumber, hole_nan_value, HoleNanValue) \
173 V(HeapNumber, infinity_value, InfinityValue) \ 172 V(HeapNumber, infinity_value, InfinityValue) \
174 V(HeapNumber, minus_zero_value, MinusZeroValue) \ 173 V(HeapNumber, minus_zero_value, MinusZeroValue) \
175 V(HeapNumber, minus_infinity_value, MinusInfinityValue) \ 174 V(HeapNumber, minus_infinity_value, MinusInfinityValue) \
176 /* Caches */ \ 175 /* Caches */ \
177 V(FixedArray, number_string_cache, NumberStringCache) \ 176 V(FixedArray, number_string_cache, NumberStringCache) \
178 V(FixedArray, single_character_string_cache, SingleCharacterStringCache) \ 177 V(FixedArray, single_character_string_cache, SingleCharacterStringCache) \
179 V(FixedArray, string_split_cache, StringSplitCache) \ 178 V(FixedArray, string_split_cache, StringSplitCache) \
(...skipping 2457 matching lines...) Expand 10 before | Expand all | Expand 10 after
2637 friend class LargeObjectSpace; 2636 friend class LargeObjectSpace;
2638 friend class NewSpace; 2637 friend class NewSpace;
2639 friend class PagedSpace; 2638 friend class PagedSpace;
2640 DISALLOW_COPY_AND_ASSIGN(AllocationObserver); 2639 DISALLOW_COPY_AND_ASSIGN(AllocationObserver);
2641 }; 2640 };
2642 2641
2643 } // namespace internal 2642 } // namespace internal
2644 } // namespace v8 2643 } // namespace v8
2645 2644
2646 #endif // V8_HEAP_HEAP_H_ 2645 #endif // V8_HEAP_HEAP_H_
OLDNEW
« no previous file with comments | « src/factory.cc ('k') | src/heap/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698