| OLD | NEW |
| 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_function_string, "(anonymous function)") \ | 9 V(anonymous_function_string, "(anonymous function)") \ |
| 10 V(anonymous_string, "anonymous") \ | 10 V(anonymous_string, "anonymous") \ |
| 11 V(apply_string, "apply") \ | 11 V(apply_string, "apply") \ |
| 12 V(arguments_string, "arguments") \ | 12 V(arguments_string, "arguments") \ |
| 13 V(Arguments_string, "Arguments") \ | 13 V(Arguments_string, "Arguments") \ |
| 14 V(arguments_to_string, "[object Arguments]") \ | 14 V(arguments_to_string, "[object Arguments]") \ |
| 15 V(Array_string, "Array") \ | 15 V(Array_string, "Array") \ |
| 16 V(ArrayIterator_string, "Array Iterator") \ | 16 V(ArrayIterator_string, "Array Iterator") \ |
| 17 V(assign_string, "assign") \ | 17 V(assign_string, "assign") \ |
| 18 V(async_string, "async") \ | 18 V(async_string, "async") \ |
| 19 V(await_string, "await") \ | 19 V(await_string, "await") \ |
| 20 V(array_to_string, "[object Array]") \ | 20 V(array_to_string, "[object Array]") \ |
| 21 V(boolean_to_string, "[object Boolean]") \ | 21 V(boolean_to_string, "[object Boolean]") \ |
| 22 V(date_to_string, "[object Date]") \ | 22 V(date_to_string, "[object Date]") \ |
| 23 V(error_to_string, "[object Error]") \ | 23 V(error_to_string, "[object Error]") \ |
| 24 V(function_to_string, "[object Function]") \ | 24 V(function_to_string, "[object Function]") \ |
| 25 V(number_to_string, "[object Number]") \ | 25 V(number_to_string, "[object Number]") \ |
| 26 V(object_to_string, "[object Object]") \ | 26 V(object_to_string, "[object Object]") \ |
| 27 V(regexp_to_string, "[object RegExp]") \ | 27 V(regexp_to_string, "[object RegExp]") \ |
| 28 V(string_to_string, "[object String]") \ | 28 V(string_to_string, "[object String]") \ |
| 29 V(bind_string, "bind") \ | 29 V(bind_string, "bind") \ |
| 30 V(bool16x8_string, "bool16x8") \ |
| 31 V(Bool16x8_string, "Bool16x8") \ |
| 32 V(bool32x4_string, "bool32x4") \ |
| 33 V(Bool32x4_string, "Bool32x4") \ |
| 34 V(bool8x16_string, "bool8x16") \ |
| 35 V(Bool8x16_string, "Bool8x16") \ |
| 30 V(boolean_string, "boolean") \ | 36 V(boolean_string, "boolean") \ |
| 31 V(Boolean_string, "Boolean") \ | 37 V(Boolean_string, "Boolean") \ |
| 32 V(bound__string, "bound ") \ | 38 V(bound__string, "bound ") \ |
| 33 V(buffer_string, "buffer") \ | 39 V(buffer_string, "buffer") \ |
| 34 V(byte_length_string, "byteLength") \ | 40 V(byte_length_string, "byteLength") \ |
| 35 V(byte_offset_string, "byteOffset") \ | 41 V(byte_offset_string, "byteOffset") \ |
| 36 V(call_string, "call") \ | 42 V(call_string, "call") \ |
| 37 V(callee_string, "callee") \ | 43 V(callee_string, "callee") \ |
| 38 V(caller_string, "caller") \ | 44 V(caller_string, "caller") \ |
| 39 V(cell_value_string, "%cell_value") \ | 45 V(cell_value_string, "%cell_value") \ |
| (...skipping 24 matching lines...) Expand all Loading... |
| 64 V(exec_string, "exec") \ | 70 V(exec_string, "exec") \ |
| 65 V(entries_string, "entries") \ | 71 V(entries_string, "entries") \ |
| 66 V(enqueue_string, "enqueue") \ | 72 V(enqueue_string, "enqueue") \ |
| 67 V(enumerable_string, "enumerable") \ | 73 V(enumerable_string, "enumerable") \ |
| 68 V(era_string, "era") \ | 74 V(era_string, "era") \ |
| 69 V(Error_string, "Error") \ | 75 V(Error_string, "Error") \ |
| 70 V(eval_string, "eval") \ | 76 V(eval_string, "eval") \ |
| 71 V(EvalError_string, "EvalError") \ | 77 V(EvalError_string, "EvalError") \ |
| 72 V(false_string, "false") \ | 78 V(false_string, "false") \ |
| 73 V(flags_string, "flags") \ | 79 V(flags_string, "flags") \ |
| 80 V(float32x4_string, "float32x4") \ |
| 81 V(Float32x4_string, "Float32x4") \ |
| 74 V(function_string, "function") \ | 82 V(function_string, "function") \ |
| 75 V(Function_string, "Function") \ | 83 V(Function_string, "Function") \ |
| 76 V(Generator_string, "Generator") \ | 84 V(Generator_string, "Generator") \ |
| 77 V(getOwnPropertyDescriptor_string, "getOwnPropertyDescriptor") \ | 85 V(getOwnPropertyDescriptor_string, "getOwnPropertyDescriptor") \ |
| 78 V(getOwnPropertyDescriptors_string, "getOwnPropertyDescriptors") \ | 86 V(getOwnPropertyDescriptors_string, "getOwnPropertyDescriptors") \ |
| 79 V(getPrototypeOf_string, "getPrototypeOf") \ | 87 V(getPrototypeOf_string, "getPrototypeOf") \ |
| 80 V(get_string, "get") \ | 88 V(get_string, "get") \ |
| 81 V(get_space_string, "get ") \ | 89 V(get_space_string, "get ") \ |
| 82 V(global_string, "global") \ | 90 V(global_string, "global") \ |
| 83 V(group_string, "group") \ | 91 V(group_string, "group") \ |
| 84 V(has_string, "has") \ | 92 V(has_string, "has") \ |
| 85 V(hour_string, "hour") \ | 93 V(hour_string, "hour") \ |
| 86 V(ignoreCase_string, "ignoreCase") \ | 94 V(ignoreCase_string, "ignoreCase") \ |
| 87 V(illegal_access_string, "illegal access") \ | 95 V(illegal_access_string, "illegal access") \ |
| 88 V(illegal_argument_string, "illegal argument") \ | 96 V(illegal_argument_string, "illegal argument") \ |
| 89 V(index_string, "index") \ | 97 V(index_string, "index") \ |
| 90 V(infinity_string, "Infinity") \ | 98 V(infinity_string, "Infinity") \ |
| 91 V(input_string, "input") \ | 99 V(input_string, "input") \ |
| 100 V(int16x8_string, "int16x8") \ |
| 101 V(Int16x8_string, "Int16x8") \ |
| 102 V(int32x4_string, "int32x4") \ |
| 103 V(Int32x4_string, "Int32x4") \ |
| 104 V(int8x16_string, "int8x16") \ |
| 105 V(Int8x16_string, "Int8x16") \ |
| 92 V(isExtensible_string, "isExtensible") \ | 106 V(isExtensible_string, "isExtensible") \ |
| 93 V(isView_string, "isView") \ | 107 V(isView_string, "isView") \ |
| 94 V(KeyedLoadMonomorphic_string, "KeyedLoadMonomorphic") \ | 108 V(KeyedLoadMonomorphic_string, "KeyedLoadMonomorphic") \ |
| 95 V(KeyedStoreMonomorphic_string, "KeyedStoreMonomorphic") \ | 109 V(KeyedStoreMonomorphic_string, "KeyedStoreMonomorphic") \ |
| 96 V(keys_string, "keys") \ | 110 V(keys_string, "keys") \ |
| 97 V(lastIndex_string, "lastIndex") \ | 111 V(lastIndex_string, "lastIndex") \ |
| 98 V(length_string, "length") \ | 112 V(length_string, "length") \ |
| 99 V(let_string, "let") \ | 113 V(let_string, "let") \ |
| 100 V(line_string, "line") \ | 114 V(line_string, "line") \ |
| 101 V(literal_string, "literal") \ | 115 V(literal_string, "literal") \ |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 164 V(timed_out, "timed-out") \ | 178 V(timed_out, "timed-out") \ |
| 165 V(timeZoneName_string, "timeZoneName") \ | 179 V(timeZoneName_string, "timeZoneName") \ |
| 166 V(toJSON_string, "toJSON") \ | 180 V(toJSON_string, "toJSON") \ |
| 167 V(toString_string, "toString") \ | 181 V(toString_string, "toString") \ |
| 168 V(true_string, "true") \ | 182 V(true_string, "true") \ |
| 169 V(TypeError_string, "TypeError") \ | 183 V(TypeError_string, "TypeError") \ |
| 170 V(type_string, "type") \ | 184 V(type_string, "type") \ |
| 171 V(CompileError_string, "CompileError") \ | 185 V(CompileError_string, "CompileError") \ |
| 172 V(LinkError_string, "LinkError") \ | 186 V(LinkError_string, "LinkError") \ |
| 173 V(RuntimeError_string, "RuntimeError") \ | 187 V(RuntimeError_string, "RuntimeError") \ |
| 188 V(uint16x8_string, "uint16x8") \ |
| 189 V(Uint16x8_string, "Uint16x8") \ |
| 190 V(uint32x4_string, "uint32x4") \ |
| 191 V(Uint32x4_string, "Uint32x4") \ |
| 192 V(uint8x16_string, "uint8x16") \ |
| 193 V(Uint8x16_string, "Uint8x16") \ |
| 174 V(undefined_string, "undefined") \ | 194 V(undefined_string, "undefined") \ |
| 175 V(undefined_to_string, "[object Undefined]") \ | 195 V(undefined_to_string, "[object Undefined]") \ |
| 176 V(unicode_string, "unicode") \ | 196 V(unicode_string, "unicode") \ |
| 177 V(use_asm_string, "use asm") \ | 197 V(use_asm_string, "use asm") \ |
| 178 V(use_strict_string, "use strict") \ | 198 V(use_strict_string, "use strict") \ |
| 179 V(URIError_string, "URIError") \ | 199 V(URIError_string, "URIError") \ |
| 180 V(valueOf_string, "valueOf") \ | 200 V(valueOf_string, "valueOf") \ |
| 181 V(values_string, "values") \ | 201 V(values_string, "values") \ |
| 182 V(value_string, "value") \ | 202 V(value_string, "value") \ |
| 183 V(WeakMap_string, "WeakMap") \ | 203 V(WeakMap_string, "WeakMap") \ |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 238 // Well-Known Symbols are "Public" symbols, which have a bit set which causes | 258 // Well-Known Symbols are "Public" symbols, which have a bit set which causes |
| 239 // them to produce an undefined value when a load results in a failed access | 259 // them to produce an undefined value when a load results in a failed access |
| 240 // check. Because this behaviour is not specified properly as of yet, it only | 260 // check. Because this behaviour is not specified properly as of yet, it only |
| 241 // applies to a subset of spec-defined Well-Known Symbols. | 261 // applies to a subset of spec-defined Well-Known Symbols. |
| 242 #define WELL_KNOWN_SYMBOL_LIST(V) \ | 262 #define WELL_KNOWN_SYMBOL_LIST(V) \ |
| 243 V(has_instance_symbol, Symbol.hasInstance) \ | 263 V(has_instance_symbol, Symbol.hasInstance) \ |
| 244 V(is_concat_spreadable_symbol, Symbol.isConcatSpreadable) \ | 264 V(is_concat_spreadable_symbol, Symbol.isConcatSpreadable) \ |
| 245 V(to_string_tag_symbol, Symbol.toStringTag) | 265 V(to_string_tag_symbol, Symbol.toStringTag) |
| 246 | 266 |
| 247 #endif // V8_HEAP_SYMBOLS_H_ | 267 #endif // V8_HEAP_SYMBOLS_H_ |
| OLD | NEW |