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

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

Issue 1658773003: [esnext] implement Object.getOwnPropertyDescriptors() proposal (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix rebase + re-enable test Created 4 years, 10 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 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") \
11 V(assign_string, "assign") \ 11 V(assign_string, "assign") \
12 V(arguments_string, "arguments") \ 12 V(arguments_string, "arguments") \
13 V(Arguments_string, "Arguments") \ 13 V(Arguments_string, "Arguments") \
14 V(Array_string, "Array") \ 14 V(Array_string, "Array") \
15 V(bind_string, "bind") \ 15 V(bind_string, "bind") \
16 V(bool16x8_string, "bool16x8") \ 16 V(bool16x8_string, "bool16x8") \
17 V(Bool16x8_string, "Bool16x8") \ 17 V(Bool16x8_string, "Bool16x8") \
18 V(bool32x4_string, "bool32x4") \ 18 V(bool32x4_string, "bool32x4") \
19 V(Bool32x4_string, "Bool32x4") \ 19 V(Bool32x4_string, "Bool32x4") \
20 V(bool8x16_string, "bool8x16") \ 20 V(bool8x16_string, "bool8x16") \
21 V(Bool8x16_string, "Bool8x16") \ 21 V(Bool8x16_string, "Bool8x16") \
22 V(boolean_string, "boolean") \ 22 V(boolean_string, "boolean") \
23 V(Boolean_string, "Boolean") \ 23 V(Boolean_string, "Boolean") \
24 V(bound__string, "bound ") \ 24 V(bound__string, "bound ") \
25 V(byte_length_string, "byteLength") \ 25 V(byte_length_string, "byteLength") \
26 V(byte_offset_string, "byteOffset") \ 26 V(byte_offset_string, "byteOffset") \
27 V(call_string, "call") \ 27 V(call_string, "call") \
28 V(callee_string, "callee") \ 28 V(callee_string, "callee") \
29 V(caller_string, "caller") \ 29 V(caller_string, "caller") \
30 V(cell_value_string, "%cell_value") \ 30 V(cell_value_string, "%cell_value") \
31 V(char_at_string, "CharAt") \ 31 V(char_at_string, "CharAt") \
32 V(closure_string, "(closure)") \ 32 V(closure_string, "(closure)") \
33 V(compare_ic_string, "==") \ 33 V(compare_ic_string, "==") \
34 V(configurable_string, "configurable") \ 34 V(configurable_string, "configurable") \
35 V(constructor_string, "constructor") \ 35 V(constructor_string, "constructor") \
36 V(construct_string, "construct") \ 36 V(construct_string, "construct") \
37 V(create_string, "create") \ 37 V(create_string, "create") \
38 V(Date_string, "Date") \ 38 V(Date_string, "Date") \
39 V(default_string, "default") \ 39 V(default_string, "default") \
40 V(defineProperty_string, "defineProperty") \ 40 V(defineProperty_string, "defineProperty") \
41 V(deleteProperty_string, "deleteProperty") \ 41 V(deleteProperty_string, "deleteProperty") \
42 V(display_name_string, "displayName") \ 42 V(display_name_string, "displayName") \
43 V(done_string, "done") \ 43 V(done_string, "done") \
44 V(dot_result_string, ".result") \ 44 V(dot_result_string, ".result") \
45 V(dot_string, ".") \ 45 V(dot_string, ".") \
46 V(entries_string, "entries") \ 46 V(entries_string, "entries") \
47 V(enumerable_string, "enumerable") \ 47 V(enumerable_string, "enumerable") \
48 V(enumerate_string, "enumerate") \ 48 V(enumerate_string, "enumerate") \
49 V(Error_string, "Error") \ 49 V(Error_string, "Error") \
50 V(eval_string, "eval") \ 50 V(eval_string, "eval") \
51 V(false_string, "false") \ 51 V(false_string, "false") \
52 V(float32x4_string, "float32x4") \ 52 V(float32x4_string, "float32x4") \
53 V(Float32x4_string, "Float32x4") \ 53 V(Float32x4_string, "Float32x4") \
54 V(for_api_string, "for_api") \ 54 V(for_api_string, "for_api") \
55 V(for_string, "for") \ 55 V(for_string, "for") \
56 V(function_string, "function") \ 56 V(function_string, "function") \
57 V(Function_string, "Function") \ 57 V(Function_string, "Function") \
58 V(Generator_string, "Generator") \ 58 V(Generator_string, "Generator") \
59 V(getOwnPropertyDescriptor_string, "getOwnPropertyDescriptor") \ 59 V(getOwnPropertyDescriptor_string, "getOwnPropertyDescriptor") \
60 V(getPrototypeOf_string, "getPrototypeOf") \ 60 V(getOwnPropertyDescriptors_string, "getOwnPropertyDescriptors") \
61 V(get_string, "get") \ 61 V(getPrototypeOf_string, "getPrototypeOf") \
62 V(global_string, "global") \ 62 V(get_string, "get") \
63 V(has_string, "has") \ 63 V(global_string, "global") \
64 V(illegal_access_string, "illegal access") \ 64 V(has_string, "has") \
65 V(illegal_argument_string, "illegal argument") \ 65 V(illegal_access_string, "illegal access") \
66 V(index_string, "index") \ 66 V(illegal_argument_string, "illegal argument") \
67 V(infinity_string, "Infinity") \ 67 V(index_string, "index") \
68 V(input_string, "input") \ 68 V(infinity_string, "Infinity") \
69 V(int16x8_string, "int16x8") \ 69 V(input_string, "input") \
70 V(Int16x8_string, "Int16x8") \ 70 V(int16x8_string, "int16x8") \
71 V(int32x4_string, "int32x4") \ 71 V(Int16x8_string, "Int16x8") \
72 V(Int32x4_string, "Int32x4") \ 72 V(int32x4_string, "int32x4") \
73 V(int8x16_string, "int8x16") \ 73 V(Int32x4_string, "Int32x4") \
74 V(Int8x16_string, "Int8x16") \ 74 V(int8x16_string, "int8x16") \
75 V(isExtensible_string, "isExtensible") \ 75 V(Int8x16_string, "Int8x16") \
76 V(isView_string, "isView") \ 76 V(isExtensible_string, "isExtensible") \
77 V(KeyedLoadMonomorphic_string, "KeyedLoadMonomorphic") \ 77 V(isView_string, "isView") \
78 V(KeyedStoreMonomorphic_string, "KeyedStoreMonomorphic") \ 78 V(KeyedLoadMonomorphic_string, "KeyedLoadMonomorphic") \
79 V(last_index_string, "lastIndex") \ 79 V(KeyedStoreMonomorphic_string, "KeyedStoreMonomorphic") \
80 V(length_string, "length") \ 80 V(last_index_string, "lastIndex") \
81 V(Map_string, "Map") \ 81 V(length_string, "length") \
82 V(minus_infinity_string, "-Infinity") \ 82 V(Map_string, "Map") \
83 V(minus_zero_string, "-0") \ 83 V(minus_infinity_string, "-Infinity") \
84 V(name_string, "name") \ 84 V(minus_zero_string, "-0") \
85 V(nan_string, "NaN") \ 85 V(name_string, "name") \
86 V(next_string, "next") \ 86 V(nan_string, "NaN") \
87 V(null_string, "null") \ 87 V(next_string, "next") \
88 V(null_to_string, "[object Null]") \ 88 V(null_string, "null") \
89 V(number_string, "number") \ 89 V(null_to_string, "[object Null]") \
90 V(Number_string, "Number") \ 90 V(number_string, "number") \
91 V(object_string, "object") \ 91 V(Number_string, "Number") \
92 V(Object_string, "Object") \ 92 V(object_string, "object") \
93 V(ownKeys_string, "ownKeys") \ 93 V(Object_string, "Object") \
94 V(preventExtensions_string, "preventExtensions") \ 94 V(ownKeys_string, "ownKeys") \
95 V(private_api_string, "private_api") \ 95 V(preventExtensions_string, "preventExtensions") \
96 V(Promise_string, "Promise") \ 96 V(private_api_string, "private_api") \
97 V(proto_string, "__proto__") \ 97 V(Promise_string, "Promise") \
98 V(prototype_string, "prototype") \ 98 V(proto_string, "__proto__") \
99 V(Proxy_string, "Proxy") \ 99 V(prototype_string, "prototype") \
100 V(query_colon_string, "(?:)") \ 100 V(Proxy_string, "Proxy") \
101 V(RegExp_string, "RegExp") \ 101 V(query_colon_string, "(?:)") \
102 V(setPrototypeOf_string, "setPrototypeOf") \ 102 V(RegExp_string, "RegExp") \
103 V(set_string, "set") \ 103 V(setPrototypeOf_string, "setPrototypeOf") \
104 V(Set_string, "Set") \ 104 V(set_string, "set") \
105 V(source_mapping_url_string, "source_mapping_url") \ 105 V(Set_string, "Set") \
106 V(source_string, "source") \ 106 V(source_mapping_url_string, "source_mapping_url") \
107 V(source_url_string, "source_url") \ 107 V(source_string, "source") \
108 V(stack_string, "stack") \ 108 V(source_url_string, "source_url") \
109 V(strict_compare_ic_string, "===") \ 109 V(stack_string, "stack") \
110 V(string_string, "string") \ 110 V(strict_compare_ic_string, "===") \
111 V(String_string, "String") \ 111 V(string_string, "string") \
112 V(symbol_string, "symbol") \ 112 V(String_string, "String") \
113 V(Symbol_string, "Symbol") \ 113 V(symbol_string, "symbol") \
114 V(this_string, "this") \ 114 V(Symbol_string, "Symbol") \
115 V(throw_string, "throw") \ 115 V(this_string, "this") \
116 V(toJSON_string, "toJSON") \ 116 V(throw_string, "throw") \
117 V(toString_string, "toString") \ 117 V(toJSON_string, "toJSON") \
118 V(true_string, "true") \ 118 V(toString_string, "toString") \
119 V(uint16x8_string, "uint16x8") \ 119 V(true_string, "true") \
120 V(Uint16x8_string, "Uint16x8") \ 120 V(uint16x8_string, "uint16x8") \
121 V(uint32x4_string, "uint32x4") \ 121 V(Uint16x8_string, "Uint16x8") \
122 V(Uint32x4_string, "Uint32x4") \ 122 V(uint32x4_string, "uint32x4") \
123 V(uint8x16_string, "uint8x16") \ 123 V(Uint32x4_string, "Uint32x4") \
124 V(Uint8x16_string, "Uint8x16") \ 124 V(uint8x16_string, "uint8x16") \
125 V(undefined_string, "undefined") \ 125 V(Uint8x16_string, "Uint8x16") \
126 V(undefined_to_string, "[object Undefined]") \ 126 V(undefined_string, "undefined") \
127 V(valueOf_string, "valueOf") \ 127 V(undefined_to_string, "[object Undefined]") \
128 V(values_string, "values") \ 128 V(valueOf_string, "valueOf") \
129 V(value_string, "value") \ 129 V(values_string, "values") \
130 V(WeakMap_string, "WeakMap") \ 130 V(value_string, "value") \
131 V(WeakSet_string, "WeakSet") \ 131 V(WeakMap_string, "WeakMap") \
132 V(WeakSet_string, "WeakSet") \
132 V(writable_string, "writable") 133 V(writable_string, "writable")
133 134
134 #define PRIVATE_SYMBOL_LIST(V) \ 135 #define PRIVATE_SYMBOL_LIST(V) \
135 V(array_iteration_kind_symbol) \ 136 V(array_iteration_kind_symbol) \
136 V(array_iterator_next_symbol) \ 137 V(array_iterator_next_symbol) \
137 V(array_iterator_object_symbol) \ 138 V(array_iterator_object_symbol) \
138 V(call_site_function_symbol) \ 139 V(call_site_function_symbol) \
139 V(call_site_position_symbol) \ 140 V(call_site_position_symbol) \
140 V(call_site_receiver_symbol) \ 141 V(call_site_receiver_symbol) \
141 V(call_site_strict_symbol) \ 142 V(call_site_strict_symbol) \
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 193
193 // Well-Known Symbols are "Public" symbols, which have a bit set which causes 194 // Well-Known Symbols are "Public" symbols, which have a bit set which causes
194 // them to produce an undefined value when a load results in a failed access 195 // them to produce an undefined value when a load results in a failed access
195 // check. Because this behaviour is not specified properly as of yet, it only 196 // check. Because this behaviour is not specified properly as of yet, it only
196 // applies to a subset of spec-defined Well-Known Symbols. 197 // applies to a subset of spec-defined Well-Known Symbols.
197 #define WELL_KNOWN_SYMBOL_LIST(V) \ 198 #define WELL_KNOWN_SYMBOL_LIST(V) \
198 V(is_concat_spreadable_symbol, Symbol.isConcatSpreadable) \ 199 V(is_concat_spreadable_symbol, Symbol.isConcatSpreadable) \
199 V(to_string_tag_symbol, Symbol.toStringTag) 200 V(to_string_tag_symbol, Symbol.toStringTag)
200 201
201 #endif // V8_HEAP_SYMBOLS_H_ 202 #endif // V8_HEAP_SYMBOLS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698