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

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

Issue 2142933003: Move Error methods to C++ (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Handle exception in GetProperty Created 4 years, 5 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/contexts.h ('k') | src/isolate.h » ('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 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 V(defineProperty_string, "defineProperty") \ 52 V(defineProperty_string, "defineProperty") \
53 V(deleteProperty_string, "deleteProperty") \ 53 V(deleteProperty_string, "deleteProperty") \
54 V(display_name_string, "displayName") \ 54 V(display_name_string, "displayName") \
55 V(done_string, "done") \ 55 V(done_string, "done") \
56 V(dot_result_string, ".result") \ 56 V(dot_result_string, ".result") \
57 V(dot_string, ".") \ 57 V(dot_string, ".") \
58 V(entries_string, "entries") \ 58 V(entries_string, "entries") \
59 V(enumerable_string, "enumerable") \ 59 V(enumerable_string, "enumerable") \
60 V(Error_string, "Error") \ 60 V(Error_string, "Error") \
61 V(eval_string, "eval") \ 61 V(eval_string, "eval") \
62 V(EvalError_string, "EvalError") \
62 V(false_string, "false") \ 63 V(false_string, "false") \
63 V(float32x4_string, "float32x4") \ 64 V(float32x4_string, "float32x4") \
64 V(Float32x4_string, "Float32x4") \ 65 V(Float32x4_string, "Float32x4") \
65 V(for_api_string, "for_api") \ 66 V(for_api_string, "for_api") \
66 V(for_string, "for") \ 67 V(for_string, "for") \
67 V(function_string, "function") \ 68 V(function_string, "function") \
68 V(Function_string, "Function") \ 69 V(Function_string, "Function") \
69 V(Generator_string, "Generator") \ 70 V(Generator_string, "Generator") \
70 V(getOwnPropertyDescriptor_string, "getOwnPropertyDescriptor") \ 71 V(getOwnPropertyDescriptor_string, "getOwnPropertyDescriptor") \
71 V(getOwnPropertyDescriptors_string, "getOwnPropertyDescriptors") \ 72 V(getOwnPropertyDescriptors_string, "getOwnPropertyDescriptors") \
(...skipping 13 matching lines...) Expand all
85 V(int8x16_string, "int8x16") \ 86 V(int8x16_string, "int8x16") \
86 V(Int8x16_string, "Int8x16") \ 87 V(Int8x16_string, "Int8x16") \
87 V(isExtensible_string, "isExtensible") \ 88 V(isExtensible_string, "isExtensible") \
88 V(isView_string, "isView") \ 89 V(isView_string, "isView") \
89 V(KeyedLoadMonomorphic_string, "KeyedLoadMonomorphic") \ 90 V(KeyedLoadMonomorphic_string, "KeyedLoadMonomorphic") \
90 V(KeyedStoreMonomorphic_string, "KeyedStoreMonomorphic") \ 91 V(KeyedStoreMonomorphic_string, "KeyedStoreMonomorphic") \
91 V(last_index_string, "lastIndex") \ 92 V(last_index_string, "lastIndex") \
92 V(length_string, "length") \ 93 V(length_string, "length") \
93 V(line_string, "line") \ 94 V(line_string, "line") \
94 V(Map_string, "Map") \ 95 V(Map_string, "Map") \
96 V(message_string, "message") \
95 V(minus_infinity_string, "-Infinity") \ 97 V(minus_infinity_string, "-Infinity") \
96 V(minus_zero_string, "-0") \ 98 V(minus_zero_string, "-0") \
97 V(name_string, "name") \ 99 V(name_string, "name") \
98 V(nan_string, "NaN") \ 100 V(nan_string, "NaN") \
99 V(next_string, "next") \ 101 V(next_string, "next") \
100 V(not_equal, "not-equal") \ 102 V(not_equal, "not-equal") \
101 V(null_string, "null") \ 103 V(null_string, "null") \
102 V(null_to_string, "[object Null]") \ 104 V(null_to_string, "[object Null]") \
103 V(number_string, "number") \ 105 V(number_string, "number") \
104 V(Number_string, "Number") \ 106 V(Number_string, "Number") \
105 V(object_string, "object") \ 107 V(object_string, "object") \
106 V(Object_string, "Object") \ 108 V(Object_string, "Object") \
107 V(ok, "ok") \ 109 V(ok, "ok") \
108 V(ownKeys_string, "ownKeys") \ 110 V(ownKeys_string, "ownKeys") \
109 V(position_string, "position") \ 111 V(position_string, "position") \
110 V(preventExtensions_string, "preventExtensions") \ 112 V(preventExtensions_string, "preventExtensions") \
111 V(private_api_string, "private_api") \ 113 V(private_api_string, "private_api") \
112 V(Promise_string, "Promise") \ 114 V(Promise_string, "Promise") \
113 V(proto_string, "__proto__") \ 115 V(proto_string, "__proto__") \
114 V(prototype_string, "prototype") \ 116 V(prototype_string, "prototype") \
115 V(Proxy_string, "Proxy") \ 117 V(Proxy_string, "Proxy") \
116 V(query_colon_string, "(?:)") \ 118 V(query_colon_string, "(?:)") \
119 V(RangeError_string, "RangeError") \
120 V(ReferenceError_string, "ReferenceError") \
117 V(RegExp_string, "RegExp") \ 121 V(RegExp_string, "RegExp") \
118 V(script_string, "script") \ 122 V(script_string, "script") \
119 V(setPrototypeOf_string, "setPrototypeOf") \ 123 V(setPrototypeOf_string, "setPrototypeOf") \
120 V(set_string, "set") \ 124 V(set_string, "set") \
121 V(Set_string, "Set") \ 125 V(Set_string, "Set") \
122 V(source_mapping_url_string, "source_mapping_url") \ 126 V(source_mapping_url_string, "source_mapping_url") \
123 V(source_string, "source") \ 127 V(source_string, "source") \
124 V(sourceText_string, "sourceText") \ 128 V(sourceText_string, "sourceText") \
125 V(source_url_string, "source_url") \ 129 V(source_url_string, "source_url") \
126 V(stack_string, "stack") \ 130 V(stack_string, "stack") \
127 V(strict_compare_ic_string, "===") \ 131 V(strict_compare_ic_string, "===") \
128 V(string_string, "string") \ 132 V(string_string, "string") \
129 V(String_string, "String") \ 133 V(String_string, "String") \
130 V(symbol_string, "symbol") \ 134 V(symbol_string, "symbol") \
131 V(Symbol_string, "Symbol") \ 135 V(Symbol_string, "Symbol") \
136 V(SyntaxError_string, "SyntaxError") \
132 V(this_string, "this") \ 137 V(this_string, "this") \
133 V(throw_string, "throw") \ 138 V(throw_string, "throw") \
134 V(timed_out, "timed-out") \ 139 V(timed_out, "timed-out") \
135 V(toJSON_string, "toJSON") \ 140 V(toJSON_string, "toJSON") \
136 V(toString_string, "toString") \ 141 V(toString_string, "toString") \
137 V(true_string, "true") \ 142 V(true_string, "true") \
143 V(TypeError_string, "TypeError") \
138 V(uint16x8_string, "uint16x8") \ 144 V(uint16x8_string, "uint16x8") \
139 V(Uint16x8_string, "Uint16x8") \ 145 V(Uint16x8_string, "Uint16x8") \
140 V(uint32x4_string, "uint32x4") \ 146 V(uint32x4_string, "uint32x4") \
141 V(Uint32x4_string, "Uint32x4") \ 147 V(Uint32x4_string, "Uint32x4") \
142 V(uint8x16_string, "uint8x16") \ 148 V(uint8x16_string, "uint8x16") \
143 V(Uint8x16_string, "Uint8x16") \ 149 V(Uint8x16_string, "Uint8x16") \
144 V(undefined_string, "undefined") \ 150 V(undefined_string, "undefined") \
145 V(undefined_to_string, "[object Undefined]") \ 151 V(undefined_to_string, "[object Undefined]") \
152 V(URIError_string, "URIError") \
146 V(valueOf_string, "valueOf") \ 153 V(valueOf_string, "valueOf") \
147 V(values_string, "values") \ 154 V(values_string, "values") \
148 V(value_string, "value") \ 155 V(value_string, "value") \
149 V(WeakMap_string, "WeakMap") \ 156 V(WeakMap_string, "WeakMap") \
150 V(WeakSet_string, "WeakSet") \ 157 V(WeakSet_string, "WeakSet") \
151 V(writable_string, "writable") 158 V(writable_string, "writable")
152 159
153 #define PRIVATE_SYMBOL_LIST(V) \ 160 #define PRIVATE_SYMBOL_LIST(V) \
154 V(array_iteration_kind_symbol) \ 161 V(array_iteration_kind_symbol) \
155 V(array_iterator_next_symbol) \ 162 V(array_iterator_next_symbol) \
156 V(array_iterator_object_symbol) \ 163 V(array_iterator_object_symbol) \
157 V(call_site_constructor_symbol) \ 164 V(call_site_constructor_symbol) \
158 V(call_site_function_symbol) \ 165 V(call_site_function_symbol) \
159 V(call_site_position_symbol) \ 166 V(call_site_position_symbol) \
160 V(call_site_receiver_symbol) \ 167 V(call_site_receiver_symbol) \
161 V(call_site_strict_symbol) \ 168 V(call_site_strict_symbol) \
162 V(call_site_wasm_obj_symbol) \ 169 V(call_site_wasm_obj_symbol) \
163 V(call_site_wasm_func_index_symbol) \ 170 V(call_site_wasm_func_index_symbol) \
164 V(class_end_position_symbol) \ 171 V(class_end_position_symbol) \
165 V(class_start_position_symbol) \ 172 V(class_start_position_symbol) \
166 V(detailed_stack_trace_symbol) \ 173 V(detailed_stack_trace_symbol) \
167 V(elements_transition_symbol) \ 174 V(elements_transition_symbol) \
168 V(error_end_pos_symbol) \ 175 V(error_end_pos_symbol) \
169 V(error_script_symbol) \ 176 V(error_script_symbol) \
170 V(error_start_pos_symbol) \ 177 V(error_start_pos_symbol) \
171 V(formatted_stack_trace_symbol) \
172 V(frozen_symbol) \ 178 V(frozen_symbol) \
173 V(hash_code_symbol) \ 179 V(hash_code_symbol) \
174 V(home_object_symbol) \ 180 V(home_object_symbol) \
175 V(internal_error_symbol) \ 181 V(internal_error_symbol) \
176 V(intl_impl_object_symbol) \ 182 V(intl_impl_object_symbol) \
177 V(intl_initialized_marker_symbol) \ 183 V(intl_initialized_marker_symbol) \
178 V(intl_pattern_symbol) \ 184 V(intl_pattern_symbol) \
179 V(intl_resolved_symbol) \ 185 V(intl_resolved_symbol) \
180 V(megamorphic_symbol) \ 186 V(megamorphic_symbol) \
181 V(native_context_index_symbol) \ 187 V(native_context_index_symbol) \
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 // Well-Known Symbols are "Public" symbols, which have a bit set which causes 219 // Well-Known Symbols are "Public" symbols, which have a bit set which causes
214 // them to produce an undefined value when a load results in a failed access 220 // them to produce an undefined value when a load results in a failed access
215 // check. Because this behaviour is not specified properly as of yet, it only 221 // check. Because this behaviour is not specified properly as of yet, it only
216 // applies to a subset of spec-defined Well-Known Symbols. 222 // applies to a subset of spec-defined Well-Known Symbols.
217 #define WELL_KNOWN_SYMBOL_LIST(V) \ 223 #define WELL_KNOWN_SYMBOL_LIST(V) \
218 V(has_instance_symbol, Symbol.hasInstance) \ 224 V(has_instance_symbol, Symbol.hasInstance) \
219 V(is_concat_spreadable_symbol, Symbol.isConcatSpreadable) \ 225 V(is_concat_spreadable_symbol, Symbol.isConcatSpreadable) \
220 V(to_string_tag_symbol, Symbol.toStringTag) 226 V(to_string_tag_symbol, Symbol.toStringTag)
221 227
222 #endif // V8_HEAP_SYMBOLS_H_ 228 #endif // V8_HEAP_SYMBOLS_H_
OLDNEW
« no previous file with comments | « src/contexts.h ('k') | src/isolate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698