PageRenderTime 33ms CodeModel.GetById 19ms RepoModel.GetById 0ms app.codeStats 0ms

/deps/v8/src/heap-symbols.h

https://gitlab.com/CORP-RESELLER/node
C Header | 201 lines | 188 code | 6 blank | 7 comment | 0 complexity | fb056ad9a4d54c8d95a3961a8538dc40 MD5 | raw file
  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
  3. // found in the LICENSE file.
  4. #ifndef V8_HEAP_SYMBOLS_H_
  5. #define V8_HEAP_SYMBOLS_H_
  6. #define INTERNALIZED_STRING_LIST(V) \
  7. V(anonymous_string, "anonymous") \
  8. V(apply_string, "apply") \
  9. V(assign_string, "assign") \
  10. V(arguments_string, "arguments") \
  11. V(Arguments_string, "Arguments") \
  12. V(Array_string, "Array") \
  13. V(bind_string, "bind") \
  14. V(bool16x8_string, "bool16x8") \
  15. V(Bool16x8_string, "Bool16x8") \
  16. V(bool32x4_string, "bool32x4") \
  17. V(Bool32x4_string, "Bool32x4") \
  18. V(bool8x16_string, "bool8x16") \
  19. V(Bool8x16_string, "Bool8x16") \
  20. V(boolean_string, "boolean") \
  21. V(Boolean_string, "Boolean") \
  22. V(bound__string, "bound ") \
  23. V(byte_length_string, "byteLength") \
  24. V(byte_offset_string, "byteOffset") \
  25. V(call_string, "call") \
  26. V(callee_string, "callee") \
  27. V(caller_string, "caller") \
  28. V(cell_value_string, "%cell_value") \
  29. V(char_at_string, "CharAt") \
  30. V(closure_string, "(closure)") \
  31. V(compare_ic_string, "==") \
  32. V(configurable_string, "configurable") \
  33. V(constructor_string, "constructor") \
  34. V(construct_string, "construct") \
  35. V(create_string, "create") \
  36. V(Date_string, "Date") \
  37. V(default_string, "default") \
  38. V(defineProperty_string, "defineProperty") \
  39. V(deleteProperty_string, "deleteProperty") \
  40. V(display_name_string, "displayName") \
  41. V(done_string, "done") \
  42. V(dot_result_string, ".result") \
  43. V(dot_string, ".") \
  44. V(entries_string, "entries") \
  45. V(enumerable_string, "enumerable") \
  46. V(Error_string, "Error") \
  47. V(eval_string, "eval") \
  48. V(false_string, "false") \
  49. V(float32x4_string, "float32x4") \
  50. V(Float32x4_string, "Float32x4") \
  51. V(for_api_string, "for_api") \
  52. V(for_string, "for") \
  53. V(function_string, "function") \
  54. V(Function_string, "Function") \
  55. V(Generator_string, "Generator") \
  56. V(getOwnPropertyDescriptor_string, "getOwnPropertyDescriptor") \
  57. V(getOwnPropertyDescriptors_string, "getOwnPropertyDescriptors") \
  58. V(getPrototypeOf_string, "getPrototypeOf") \
  59. V(get_string, "get") \
  60. V(global_string, "global") \
  61. V(has_string, "has") \
  62. V(illegal_access_string, "illegal access") \
  63. V(illegal_argument_string, "illegal argument") \
  64. V(index_string, "index") \
  65. V(infinity_string, "Infinity") \
  66. V(input_string, "input") \
  67. V(int16x8_string, "int16x8") \
  68. V(Int16x8_string, "Int16x8") \
  69. V(int32x4_string, "int32x4") \
  70. V(Int32x4_string, "Int32x4") \
  71. V(int8x16_string, "int8x16") \
  72. V(Int8x16_string, "Int8x16") \
  73. V(isExtensible_string, "isExtensible") \
  74. V(isView_string, "isView") \
  75. V(KeyedLoadMonomorphic_string, "KeyedLoadMonomorphic") \
  76. V(KeyedStoreMonomorphic_string, "KeyedStoreMonomorphic") \
  77. V(last_index_string, "lastIndex") \
  78. V(length_string, "length") \
  79. V(Map_string, "Map") \
  80. V(minus_infinity_string, "-Infinity") \
  81. V(minus_zero_string, "-0") \
  82. V(name_string, "name") \
  83. V(nan_string, "NaN") \
  84. V(next_string, "next") \
  85. V(null_string, "null") \
  86. V(null_to_string, "[object Null]") \
  87. V(number_string, "number") \
  88. V(Number_string, "Number") \
  89. V(object_string, "object") \
  90. V(Object_string, "Object") \
  91. V(ownKeys_string, "ownKeys") \
  92. V(preventExtensions_string, "preventExtensions") \
  93. V(private_api_string, "private_api") \
  94. V(Promise_string, "Promise") \
  95. V(proto_string, "__proto__") \
  96. V(prototype_string, "prototype") \
  97. V(Proxy_string, "Proxy") \
  98. V(query_colon_string, "(?:)") \
  99. V(RegExp_string, "RegExp") \
  100. V(setPrototypeOf_string, "setPrototypeOf") \
  101. V(set_string, "set") \
  102. V(Set_string, "Set") \
  103. V(source_mapping_url_string, "source_mapping_url") \
  104. V(source_string, "source") \
  105. V(source_url_string, "source_url") \
  106. V(stack_string, "stack") \
  107. V(strict_compare_ic_string, "===") \
  108. V(string_string, "string") \
  109. V(String_string, "String") \
  110. V(symbol_string, "symbol") \
  111. V(Symbol_string, "Symbol") \
  112. V(this_string, "this") \
  113. V(throw_string, "throw") \
  114. V(toJSON_string, "toJSON") \
  115. V(toString_string, "toString") \
  116. V(true_string, "true") \
  117. V(uint16x8_string, "uint16x8") \
  118. V(Uint16x8_string, "Uint16x8") \
  119. V(uint32x4_string, "uint32x4") \
  120. V(Uint32x4_string, "Uint32x4") \
  121. V(uint8x16_string, "uint8x16") \
  122. V(Uint8x16_string, "Uint8x16") \
  123. V(undefined_string, "undefined") \
  124. V(undefined_to_string, "[object Undefined]") \
  125. V(valueOf_string, "valueOf") \
  126. V(values_string, "values") \
  127. V(value_string, "value") \
  128. V(WeakMap_string, "WeakMap") \
  129. V(WeakSet_string, "WeakSet") \
  130. V(writable_string, "writable")
  131. #define PRIVATE_SYMBOL_LIST(V) \
  132. V(array_iteration_kind_symbol) \
  133. V(array_iterator_next_symbol) \
  134. V(array_iterator_object_symbol) \
  135. V(call_site_function_symbol) \
  136. V(call_site_position_symbol) \
  137. V(call_site_receiver_symbol) \
  138. V(call_site_strict_symbol) \
  139. V(class_end_position_symbol) \
  140. V(class_start_position_symbol) \
  141. V(detailed_stack_trace_symbol) \
  142. V(elements_transition_symbol) \
  143. V(error_end_pos_symbol) \
  144. V(error_script_symbol) \
  145. V(error_start_pos_symbol) \
  146. V(formatted_stack_trace_symbol) \
  147. V(frozen_symbol) \
  148. V(hash_code_symbol) \
  149. V(hidden_properties_symbol) \
  150. V(home_object_symbol) \
  151. V(internal_error_symbol) \
  152. V(intl_impl_object_symbol) \
  153. V(intl_initialized_marker_symbol) \
  154. V(intl_pattern_symbol) \
  155. V(intl_resolved_symbol) \
  156. V(megamorphic_symbol) \
  157. V(native_context_index_symbol) \
  158. V(nonexistent_symbol) \
  159. V(nonextensible_symbol) \
  160. V(normal_ic_symbol) \
  161. V(not_mapped_symbol) \
  162. V(observed_symbol) \
  163. V(premonomorphic_symbol) \
  164. V(promise_combined_deferred_symbol) \
  165. V(promise_debug_marker_symbol) \
  166. V(promise_has_handler_symbol) \
  167. V(promise_on_resolve_symbol) \
  168. V(promise_on_reject_symbol) \
  169. V(promise_raw_symbol) \
  170. V(promise_status_symbol) \
  171. V(promise_value_symbol) \
  172. V(sealed_symbol) \
  173. V(stack_trace_symbol) \
  174. V(strict_function_transition_symbol) \
  175. V(string_iterator_iterated_string_symbol) \
  176. V(string_iterator_next_index_symbol) \
  177. V(uninitialized_symbol)
  178. #define PUBLIC_SYMBOL_LIST(V) \
  179. V(iterator_symbol, Symbol.iterator) \
  180. V(match_symbol, Symbol.match) \
  181. V(replace_symbol, Symbol.replace) \
  182. V(search_symbol, Symbol.search) \
  183. V(species_symbol, Symbol.species) \
  184. V(split_symbol, Symbol.split) \
  185. V(to_primitive_symbol, Symbol.toPrimitive) \
  186. V(unscopables_symbol, Symbol.unscopables)
  187. // Well-Known Symbols are "Public" symbols, which have a bit set which causes
  188. // them to produce an undefined value when a load results in a failed access
  189. // check. Because this behaviour is not specified properly as of yet, it only
  190. // applies to a subset of spec-defined Well-Known Symbols.
  191. #define WELL_KNOWN_SYMBOL_LIST(V) \
  192. V(has_instance_symbol, Symbol.hasInstance) \
  193. V(is_concat_spreadable_symbol, Symbol.isConcatSpreadable) \
  194. V(to_string_tag_symbol, Symbol.toStringTag)
  195. #endif // V8_HEAP_SYMBOLS_H_