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

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

Issue 1810483002: Introduce "optimized_out" oddball marker for compilers. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix debugger. Created 4 years, 9 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/debug/debug-frames.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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 V(FixedArray, empty_fixed_array, EmptyFixedArray) \ 68 V(FixedArray, empty_fixed_array, EmptyFixedArray) \
69 V(ByteArray, empty_byte_array, EmptyByteArray) \ 69 V(ByteArray, empty_byte_array, EmptyByteArray) \
70 V(DescriptorArray, empty_descriptor_array, EmptyDescriptorArray) \ 70 V(DescriptorArray, empty_descriptor_array, EmptyDescriptorArray) \
71 /* The roots above this line should be boring from a GC point of view. */ \ 71 /* The roots above this line should be boring from a GC point of view. */ \
72 /* This means they are never in new space and never on a page that is */ \ 72 /* This means they are never in new space and never on a page that is */ \
73 /* being compacted. */ \ 73 /* being compacted. */ \
74 V(Oddball, no_interceptor_result_sentinel, NoInterceptorResultSentinel) \ 74 V(Oddball, no_interceptor_result_sentinel, NoInterceptorResultSentinel) \
75 V(Oddball, arguments_marker, ArgumentsMarker) \ 75 V(Oddball, arguments_marker, ArgumentsMarker) \
76 V(Oddball, exception, Exception) \ 76 V(Oddball, exception, Exception) \
77 V(Oddball, termination_exception, TerminationException) \ 77 V(Oddball, termination_exception, TerminationException) \
78 V(Oddball, optimized_out, OptimizedOut) \
78 V(FixedArray, number_string_cache, NumberStringCache) \ 79 V(FixedArray, number_string_cache, NumberStringCache) \
79 V(Object, instanceof_cache_function, InstanceofCacheFunction) \ 80 V(Object, instanceof_cache_function, InstanceofCacheFunction) \
80 V(Object, instanceof_cache_map, InstanceofCacheMap) \ 81 V(Object, instanceof_cache_map, InstanceofCacheMap) \
81 V(Object, instanceof_cache_answer, InstanceofCacheAnswer) \ 82 V(Object, instanceof_cache_answer, InstanceofCacheAnswer) \
82 V(FixedArray, single_character_string_cache, SingleCharacterStringCache) \ 83 V(FixedArray, single_character_string_cache, SingleCharacterStringCache) \
83 V(FixedArray, string_split_cache, StringSplitCache) \ 84 V(FixedArray, string_split_cache, StringSplitCache) \
84 V(FixedArray, regexp_multiple_cache, RegExpMultipleCache) \ 85 V(FixedArray, regexp_multiple_cache, RegExpMultipleCache) \
85 V(Smi, hash_seed, HashSeed) \ 86 V(Smi, hash_seed, HashSeed) \
86 V(Map, hash_table_map, HashTableMap) \ 87 V(Map, hash_table_map, HashTableMap) \
87 V(Map, ordered_hash_table_map, OrderedHashTableMap) \ 88 V(Map, ordered_hash_table_map, OrderedHashTableMap) \
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 V(Map, script_context_table_map, ScriptContextTableMap) \ 141 V(Map, script_context_table_map, ScriptContextTableMap) \
141 V(Map, undefined_map, UndefinedMap) \ 142 V(Map, undefined_map, UndefinedMap) \
142 V(Map, the_hole_map, TheHoleMap) \ 143 V(Map, the_hole_map, TheHoleMap) \
143 V(Map, null_map, NullMap) \ 144 V(Map, null_map, NullMap) \
144 V(Map, boolean_map, BooleanMap) \ 145 V(Map, boolean_map, BooleanMap) \
145 V(Map, uninitialized_map, UninitializedMap) \ 146 V(Map, uninitialized_map, UninitializedMap) \
146 V(Map, arguments_marker_map, ArgumentsMarkerMap) \ 147 V(Map, arguments_marker_map, ArgumentsMarkerMap) \
147 V(Map, no_interceptor_result_sentinel_map, NoInterceptorResultSentinelMap) \ 148 V(Map, no_interceptor_result_sentinel_map, NoInterceptorResultSentinelMap) \
148 V(Map, exception_map, ExceptionMap) \ 149 V(Map, exception_map, ExceptionMap) \
149 V(Map, termination_exception_map, TerminationExceptionMap) \ 150 V(Map, termination_exception_map, TerminationExceptionMap) \
151 V(Map, optimized_out_map, OptimizedOutMap) \
150 V(Map, message_object_map, JSMessageObjectMap) \ 152 V(Map, message_object_map, JSMessageObjectMap) \
151 V(Map, foreign_map, ForeignMap) \ 153 V(Map, foreign_map, ForeignMap) \
152 V(Map, neander_map, NeanderMap) \ 154 V(Map, neander_map, NeanderMap) \
153 V(Map, external_map, ExternalMap) \ 155 V(Map, external_map, ExternalMap) \
154 V(HeapNumber, nan_value, NanValue) \ 156 V(HeapNumber, nan_value, NanValue) \
155 V(HeapNumber, infinity_value, InfinityValue) \ 157 V(HeapNumber, infinity_value, InfinityValue) \
156 V(HeapNumber, minus_zero_value, MinusZeroValue) \ 158 V(HeapNumber, minus_zero_value, MinusZeroValue) \
157 V(HeapNumber, minus_infinity_value, MinusInfinityValue) \ 159 V(HeapNumber, minus_infinity_value, MinusInfinityValue) \
158 V(JSObject, message_listeners, MessageListeners) \ 160 V(JSObject, message_listeners, MessageListeners) \
159 V(UnseededNumberDictionary, code_stubs, CodeStubs) \ 161 V(UnseededNumberDictionary, code_stubs, CodeStubs) \
(...skipping 2472 matching lines...) Expand 10 before | Expand all | Expand 10 after
2632 friend class LargeObjectSpace; 2634 friend class LargeObjectSpace;
2633 friend class NewSpace; 2635 friend class NewSpace;
2634 friend class PagedSpace; 2636 friend class PagedSpace;
2635 DISALLOW_COPY_AND_ASSIGN(AllocationObserver); 2637 DISALLOW_COPY_AND_ASSIGN(AllocationObserver);
2636 }; 2638 };
2637 2639
2638 } // namespace internal 2640 } // namespace internal
2639 } // namespace v8 2641 } // namespace v8
2640 2642
2641 #endif // V8_HEAP_HEAP_H_ 2643 #endif // V8_HEAP_HEAP_H_
OLDNEW
« no previous file with comments | « src/debug/debug-frames.cc ('k') | src/heap/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698