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

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

Issue 2578923002: [inspector] async stacks for Promise.then calls... (Closed)
Patch Set: use set_private instead of weak map Created 4 years 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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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_SYMBOLS_H_ 5 #ifndef V8_HEAP_SYMBOLS_H_
6 #define V8_HEAP_SYMBOLS_H_ 6 #define V8_HEAP_SYMBOLS_H_
7 7
8 #define INTERNALIZED_STRING_LIST(V) \ 8 #define INTERNALIZED_STRING_LIST(V) \
9 V(anonymous_string, "anonymous") \ 9 V(anonymous_string, "anonymous") \
10 V(apply_string, "apply") \ 10 V(apply_string, "apply") \
(...skipping 24 matching lines...) Expand all
35 V(bound__string, "bound ") \ 35 V(bound__string, "bound ") \
36 V(buffer_string, "buffer") \ 36 V(buffer_string, "buffer") \
37 V(byte_length_string, "byteLength") \ 37 V(byte_length_string, "byteLength") \
38 V(byte_offset_string, "byteOffset") \ 38 V(byte_offset_string, "byteOffset") \
39 V(call_string, "call") \ 39 V(call_string, "call") \
40 V(callee_string, "callee") \ 40 V(callee_string, "callee") \
41 V(caller_string, "caller") \ 41 V(caller_string, "caller") \
42 V(cell_value_string, "%cell_value") \ 42 V(cell_value_string, "%cell_value") \
43 V(char_at_string, "CharAt") \ 43 V(char_at_string, "CharAt") \
44 V(closure_string, "(closure)") \ 44 V(closure_string, "(closure)") \
45 V(collected_string, "collected") \
45 V(column_string, "column") \ 46 V(column_string, "column") \
46 V(compare_ic_string, "==") \ 47 V(compare_ic_string, "==") \
47 V(configurable_string, "configurable") \ 48 V(configurable_string, "configurable") \
48 V(constructor_string, "constructor") \ 49 V(constructor_string, "constructor") \
49 V(construct_string, "construct") \ 50 V(construct_string, "construct") \
50 V(create_string, "create") \ 51 V(create_string, "create") \
51 V(Date_string, "Date") \ 52 V(Date_string, "Date") \
52 V(dayperiod_string, "dayperiod") \ 53 V(dayperiod_string, "dayperiod") \
53 V(day_string, "day") \ 54 V(day_string, "day") \
54 V(default_string, "default") \ 55 V(default_string, "default") \
55 V(defineProperty_string, "defineProperty") \ 56 V(defineProperty_string, "defineProperty") \
56 V(deleteProperty_string, "deleteProperty") \ 57 V(deleteProperty_string, "deleteProperty") \
57 V(did_handle_string, "didHandle") \
58 V(display_name_string, "displayName") \ 58 V(display_name_string, "displayName") \
59 V(done_string, "done") \ 59 V(done_string, "done") \
60 V(dot_result_string, ".result") \ 60 V(dot_result_string, ".result") \
61 V(dot_string, ".") \ 61 V(dot_string, ".") \
62 V(exec_string, "exec") \ 62 V(exec_string, "exec") \
63 V(entries_string, "entries") \ 63 V(entries_string, "entries") \
64 V(enqueue_string, "enqueue") \
65 V(enumerable_string, "enumerable") \ 64 V(enumerable_string, "enumerable") \
66 V(era_string, "era") \ 65 V(era_string, "era") \
67 V(Error_string, "Error") \ 66 V(Error_string, "Error") \
68 V(eval_string, "eval") \ 67 V(eval_string, "eval") \
69 V(EvalError_string, "EvalError") \ 68 V(EvalError_string, "EvalError") \
70 V(false_string, "false") \ 69 V(false_string, "false") \
71 V(flags_string, "flags") \ 70 V(flags_string, "flags") \
72 V(float32x4_string, "float32x4") \ 71 V(float32x4_string, "float32x4") \
73 V(Float32x4_string, "Float32x4") \ 72 V(Float32x4_string, "Float32x4") \
74 V(function_string, "function") \ 73 V(function_string, "function") \
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 V(null_to_string, "[object Null]") \ 116 V(null_to_string, "[object Null]") \
118 V(number_string, "number") \ 117 V(number_string, "number") \
119 V(Number_string, "Number") \ 118 V(Number_string, "Number") \
120 V(object_string, "object") \ 119 V(object_string, "object") \
121 V(Object_string, "Object") \ 120 V(Object_string, "Object") \
122 V(ok, "ok") \ 121 V(ok, "ok") \
123 V(ownKeys_string, "ownKeys") \ 122 V(ownKeys_string, "ownKeys") \
124 V(position_string, "position") \ 123 V(position_string, "position") \
125 V(preventExtensions_string, "preventExtensions") \ 124 V(preventExtensions_string, "preventExtensions") \
126 V(Promise_string, "Promise") \ 125 V(Promise_string, "Promise") \
126 V(PromiseReject_string, "Promise.reject") \
127 V(PromiseResolve_string, "Promise.resolve") \
127 V(PromiseResolveThenableJob_string, "PromiseResolveThenableJob") \ 128 V(PromiseResolveThenableJob_string, "PromiseResolveThenableJob") \
128 V(promise_string, "promise") \ 129 V(promise_string, "promise") \
129 V(proto_string, "__proto__") \ 130 V(proto_string, "__proto__") \
130 V(prototype_string, "prototype") \ 131 V(prototype_string, "prototype") \
131 V(Proxy_string, "Proxy") \ 132 V(Proxy_string, "Proxy") \
132 V(query_colon_string, "(?:)") \ 133 V(query_colon_string, "(?:)") \
133 V(RangeError_string, "RangeError") \ 134 V(RangeError_string, "RangeError") \
134 V(ReferenceError_string, "ReferenceError") \ 135 V(ReferenceError_string, "ReferenceError") \
135 V(RegExp_string, "RegExp") \ 136 V(RegExp_string, "RegExp") \
136 V(reject_string, "reject") \ 137 V(reject_string, "reject") \
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 V(undefined_string, "undefined") \ 176 V(undefined_string, "undefined") \
176 V(undefined_to_string, "[object Undefined]") \ 177 V(undefined_to_string, "[object Undefined]") \
177 V(unicode_string, "unicode") \ 178 V(unicode_string, "unicode") \
178 V(URIError_string, "URIError") \ 179 V(URIError_string, "URIError") \
179 V(valueOf_string, "valueOf") \ 180 V(valueOf_string, "valueOf") \
180 V(values_string, "values") \ 181 V(values_string, "values") \
181 V(value_string, "value") \ 182 V(value_string, "value") \
182 V(WeakMap_string, "WeakMap") \ 183 V(WeakMap_string, "WeakMap") \
183 V(WeakSet_string, "WeakSet") \ 184 V(WeakSet_string, "WeakSet") \
184 V(weekday_string, "weekday") \ 185 V(weekday_string, "weekday") \
185 V(will_handle_string, "willHandle") \
186 V(writable_string, "writable") \ 186 V(writable_string, "writable") \
187 V(year_string, "year") 187 V(year_string, "year")
188 188
189 #define PRIVATE_SYMBOL_LIST(V) \ 189 #define PRIVATE_SYMBOL_LIST(V) \
190 V(array_iteration_kind_symbol) \ 190 V(array_iteration_kind_symbol) \
191 V(array_iterator_next_symbol) \ 191 V(array_iterator_next_symbol) \
192 V(array_iterator_object_symbol) \ 192 V(array_iterator_object_symbol) \
193 V(call_site_frame_array_symbol) \ 193 V(call_site_frame_array_symbol) \
194 V(call_site_frame_index_symbol) \ 194 V(call_site_frame_index_symbol) \
195 V(class_end_position_symbol) \ 195 V(class_end_position_symbol) \
(...skipping 11 matching lines...) Expand all
207 V(intl_pattern_symbol) \ 207 V(intl_pattern_symbol) \
208 V(intl_resolved_symbol) \ 208 V(intl_resolved_symbol) \
209 V(megamorphic_symbol) \ 209 V(megamorphic_symbol) \
210 V(native_context_index_symbol) \ 210 V(native_context_index_symbol) \
211 V(nonexistent_symbol) \ 211 V(nonexistent_symbol) \
212 V(nonextensible_symbol) \ 212 V(nonextensible_symbol) \
213 V(normal_ic_symbol) \ 213 V(normal_ic_symbol) \
214 V(not_mapped_symbol) \ 214 V(not_mapped_symbol) \
215 V(premonomorphic_symbol) \ 215 V(premonomorphic_symbol) \
216 V(promise_async_stack_id_symbol) \ 216 V(promise_async_stack_id_symbol) \
217 V(promise_async_id_symbol) \
217 V(promise_debug_marker_symbol) \ 218 V(promise_debug_marker_symbol) \
218 V(promise_forwarding_handler_symbol) \ 219 V(promise_forwarding_handler_symbol) \
219 V(promise_handled_by_symbol) \ 220 V(promise_handled_by_symbol) \
220 V(promise_handled_hint_symbol) \ 221 V(promise_handled_hint_symbol) \
221 V(sealed_symbol) \ 222 V(sealed_symbol) \
222 V(stack_trace_symbol) \ 223 V(stack_trace_symbol) \
223 V(strict_function_transition_symbol) \ 224 V(strict_function_transition_symbol) \
224 V(uninitialized_symbol) 225 V(uninitialized_symbol)
225 226
226 #define PUBLIC_SYMBOL_LIST(V) \ 227 #define PUBLIC_SYMBOL_LIST(V) \
227 V(iterator_symbol, Symbol.iterator) \ 228 V(iterator_symbol, Symbol.iterator) \
228 V(match_symbol, Symbol.match) \ 229 V(match_symbol, Symbol.match) \
229 V(replace_symbol, Symbol.replace) \ 230 V(replace_symbol, Symbol.replace) \
230 V(search_symbol, Symbol.search) \ 231 V(search_symbol, Symbol.search) \
231 V(species_symbol, Symbol.species) \ 232 V(species_symbol, Symbol.species) \
232 V(split_symbol, Symbol.split) \ 233 V(split_symbol, Symbol.split) \
233 V(to_primitive_symbol, Symbol.toPrimitive) \ 234 V(to_primitive_symbol, Symbol.toPrimitive) \
234 V(unscopables_symbol, Symbol.unscopables) 235 V(unscopables_symbol, Symbol.unscopables)
235 236
236 // Well-Known Symbols are "Public" symbols, which have a bit set which causes 237 // Well-Known Symbols are "Public" symbols, which have a bit set which causes
237 // them to produce an undefined value when a load results in a failed access 238 // them to produce an undefined value when a load results in a failed access
238 // check. Because this behaviour is not specified properly as of yet, it only 239 // check. Because this behaviour is not specified properly as of yet, it only
239 // applies to a subset of spec-defined Well-Known Symbols. 240 // applies to a subset of spec-defined Well-Known Symbols.
240 #define WELL_KNOWN_SYMBOL_LIST(V) \ 241 #define WELL_KNOWN_SYMBOL_LIST(V) \
241 V(has_instance_symbol, Symbol.hasInstance) \ 242 V(has_instance_symbol, Symbol.hasInstance) \
242 V(is_concat_spreadable_symbol, Symbol.isConcatSpreadable) \ 243 V(is_concat_spreadable_symbol, Symbol.isConcatSpreadable) \
243 V(to_string_tag_symbol, Symbol.toStringTag) 244 V(to_string_tag_symbol, Symbol.toStringTag)
244 245
245 #endif // V8_HEAP_SYMBOLS_H_ 246 #endif // V8_HEAP_SYMBOLS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698