Lines Matching refs:SetConstant
94 SetConstant(ConstantIndex::Index, factory->NewFromASCIIReadOnly(Token));
104 SetConstant(ConstantIndex::HCLASS_CLASS_INDEX, JSTaggedValue(hClass));
106 SetConstant(ConstantIndex::ARRAY_CLASS_INDEX,
108 SetConstant(ConstantIndex::FREE_OBJECT_WITH_NONE_FIELD_CLASS_INDEX,
110 SetConstant(ConstantIndex::FREE_OBJECT_WITH_ONE_FIELD_CLASS_INDEX,
112 SetConstant(ConstantIndex::FREE_OBJECT_WITH_TWO_FIELD_CLASS_INDEX,
114 SetConstant(ConstantIndex::LINE_STRING_CLASS_INDEX,
116 SetConstant(ConstantIndex::SLICED_STRING_CLASS_INDEX,
118 SetConstant(ConstantIndex::CONSTANT_STRING_CLASS_INDEX,
120 SetConstant(ConstantIndex::TREE_STRING_CLASS_INDEX,
122 SetConstant(ConstantIndex::BYTE_ARRAY_CLASS_INDEX,
124 SetConstant(ConstantIndex::CONSTANT_POOL_CLASS_INDEX,
126 SetConstant(ConstantIndex::PROFILE_TYPE_INFO_CLASS_INDEX,
128 SetConstant(ConstantIndex::AOT_LITERAL_INFO_CLASS_INDEX,
130 SetConstant(ConstantIndex::EXTRA_PROFILE_TYPE_INFO_CLASS_INDEX,
132 SetConstant(ConstantIndex::PROFILE_TYPE_INFO_CELL_0_CLASS_INDEX,
134 SetConstant(ConstantIndex::PROFILE_TYPE_INFO_CELL_1_CLASS_INDEX,
136 SetConstant(ConstantIndex::PROFILE_TYPE_INFO_CELL_N_CLASS_INDEX,
138 SetConstant(ConstantIndex::FUNCTION_TEMPLATE_CLASS_INDEX,
140 SetConstant(ConstantIndex::VTABLE_CLASS_INDEX,
142 SetConstant(ConstantIndex::COW_MUTANT_TAGGED_ARRAY_CLASS_INDEX,
144 SetConstant(ConstantIndex::MUTANT_TAGGED_ARRAY_CLASS_INDEX,
146 SetConstant(ConstantIndex::DICTIONARY_CLASS_INDEX,
148 SetConstant(ConstantIndex::COW_ARRAY_CLASS_INDEX,
150 SetConstant(ConstantIndex::BIGINT_CLASS_INDEX,
152 SetConstant(ConstantIndex::SENDABLE_JS_NATIVE_POINTER_CLASS_INDEX,
154 SetConstant(ConstantIndex::ENV_CLASS_INDEX,
156 SetConstant(ConstantIndex::SYMBOL_CLASS_INDEX,
158 SetConstant(ConstantIndex::ACCESSOR_DATA_CLASS_INDEX,
160 SetConstant(ConstantIndex::INTERNAL_ACCESSOR_CLASS_INDEX,
162 SetConstant(ConstantIndex::COMPLETION_RECORD_CLASS_INDEX,
164 SetConstant(ConstantIndex::GENERATOR_CONTEST_INDEX,
166 SetConstant(ConstantIndex::ASYNC_GENERATOR_REQUEST_CLASS_INDEX,
169 SetConstant(ConstantIndex::ASYNC_ITERATOR_RECORD_CLASS_INDEX,
171 SetConstant(ConstantIndex::CAPABILITY_RECORD_CLASS_INDEX,
173 SetConstant(ConstantIndex::REACTIONS_RECORD_CLASS_INDEX,
175 SetConstant(ConstantIndex::PROMISE_ITERATOR_RECORD_CLASS_INDEX,
178 SetConstant(ConstantIndex::PROMISE_RECORD_CLASS_INDEX,
180 SetConstant(ConstantIndex::PROMISE_RESOLVING_FUNCTIONS_CLASS_INDEX,
183 SetConstant(ConstantIndex::MICRO_JOB_QUEUE_CLASS_INDEX,
185 SetConstant(ConstantIndex::PENDING_JOB_CLASS_INDEX,
187 SetConstant(ConstantIndex::PROTO_CHANGE_MARKER_CLASS_INDEX,
189 SetConstant(ConstantIndex::PROTO_CHANGE_DETAILS_CLASS_INDEX,
191 SetConstant(ConstantIndex::MARKER_CELL_CLASS_INDEX,
193 SetConstant(ConstantIndex::TRACK_INFO_CLASS_INDEX,
195 SetConstant(ConstantIndex::PROTOTYPE_HANDLER_CLASS_INDEX,
197 SetConstant(ConstantIndex::TRANSITION_HANDLER_CLASS_INDEX,
199 SetConstant(ConstantIndex::TRANS_WITH_PROTO_HANDLER_CLASS_INDEX,
201 SetConstant(ConstantIndex::STORE_TS_HANDLER_CLASS_INDEX,
203 SetConstant(ConstantIndex::PROPERTY_BOX_CLASS_INDEX,
205 SetConstant(ConstantIndex::PROGRAM_CLASS_INDEX,
207 SetConstant(ConstantIndex::IMPORT_ENTRY_CLASS_INDEX,
209 SetConstant(ConstantIndex::LOCAL_EXPORT_ENTRY_CLASS_INDEX,
211 SetConstant(ConstantIndex::INDIRECT_EXPORT_ENTRY_CLASS_INDEX,
214 SetConstant(ConstantIndex::STAR_EXPORT_ENTRY_CLASS_INDEX,
216 SetConstant(ConstantIndex::SOURCE_TEXT_MODULE_CLASS_INDEX,
218 SetConstant(ConstantIndex::RESOLVED_BINDING_CLASS_INDEX,
220 SetConstant(ConstantIndex::RESOLVED_INDEX_BINDING_CLASS_INDEX,
222 SetConstant(ConstantIndex::MACHINE_CODE_CLASS_INDEX,
224 SetConstant(ConstantIndex::CLASS_INFO_EXTRACTOR_HCLASS_INDEX,
227 SetConstant(ConstantIndex::CELL_RECORD_CLASS_INDEX,
229 SetConstant(ConstantIndex::METHOD_CLASS_INDEX,
231 SetConstant(ConstantIndex::LINKED_NODE_CLASS_INDEX,
233 SetConstant(ConstantIndex::RB_TREENODE_CLASS_INDEX,
235 SetConstant(ConstantIndex::CLASS_LITERAL_HCLASS_INDEX,
237 SetConstant(ConstantIndex::RESOLVED_RECORD_INEDX_BINDING_CLASS_INDEX,
240 SetConstant(ConstantIndex::RESOLVED_RECORD_BINDING_CLASS_INDEX,
242 SetConstant(ConstantIndex::SENDABLE_ENV_CLASS_INDEX,
251 SetConstant(ConstantIndex::FUNCTION_PROTOTYPE_ACCESSOR, accessor);
253 SetConstant(ConstantIndex::FUNCTION_NAME_ACCESSOR, accessor);
255 SetConstant(ConstantIndex::FUNCTION_LENGTH_ACCESSOR, accessor);
258 SetConstant(ConstantIndex::ARRAY_LENGTH_ACCESSOR, accessor);
261 SetConstant(ConstantIndex::SHARED_ARRAY_LENGTH_ACCESSOR, accessor);
263 SetConstant(ConstantIndex::UNDEFINED_INDEX, JSTaggedValue::Undefined());
264 SetConstant(ConstantIndex::NULL_INDEX, JSTaggedValue::Null());
265 SetConstant(ConstantIndex::HOLE_INDEX, JSTaggedValue::Hole());
266 SetConstant(ConstantIndex::TRUE_INDEX, JSTaggedValue::True());
267 SetConstant(ConstantIndex::FALSE_INDEX, JSTaggedValue::False());
270 SetConstant(ConstantIndex::EMPTY_STRING_OBJECT_INDEX, JSTaggedValue(EcmaStringAccessor::CreateEmptyString(vm)));
271 SetConstant(ConstantIndex::SINGLE_CHAR_TABLE_INDEX, SingleCharTable::CreateSingleCharTable(thread));
272 SetConstant(ConstantIndex::EMPTY_ARRAY_OBJECT_INDEX, factory->NewSEmptyArray());
273 SetConstant(ConstantIndex::EMPTY_MUTANT_ARRAY_OBJECT_INDEX, factory->NewSEmptyMutantArray());
274 SetConstant(ConstantIndex::EMPTY_SLAYOUT_INFO_OBJECT_INDEX, factory->NewSEmptyLayoutInfo());
275 SetConstant(ConstantIndex::UINT64_MAX_BIGINT_INDEX, BigInt::CreateUint64MaxBigInt(thread));
276 SetConstant(ConstantIndex::INT64_MAX_BIGINT_INDEX, BigInt::CreateInt64MaxBigInt(thread));
277 SetConstant(ConstantIndex::EMPTY_PROFILE_TYPE_INFO_CELL_INDEX, factory->NewSEmptyProfileTypeInfoCell());
282 SetConstant(ConstantIndex::JS_API_LINKED_LIST_ITERATOR_CLASS_INDEX,
284 SetConstant(ConstantIndex::JS_API_LIST_ITERATOR_CLASS_INDEX,
286 SetConstant(ConstantIndex::JS_API_PLAIN_ARRAY_ITERATOR_CLASS_INDEX,
288 SetConstant(ConstantIndex::JS_API_QUEUE_ITERATOR_CLASS_INDEX,
290 SetConstant(ConstantIndex::JS_API_STACK_ITERATOR_CLASS_INDEX,
292 SetConstant(ConstantIndex::JS_API_VECTOR_ITERATOR_CLASS_INDEX,
294 SetConstant(ConstantIndex::JS_API_HASH_MAP_ITERATOR_CLASS_INDEX,
296 SetConstant(ConstantIndex::JS_API_HASH_SET_ITERATOR_CLASS_INDEX,
298 SetConstant(ConstantIndex::JS_API_TREE_MAP_ITERATOR_CLASS_INDEX,
300 SetConstant(ConstantIndex::JS_API_TREE_SET_ITERATOR_CLASS_INDEX,
302 SetConstant(ConstantIndex::OBJECT_HCLASS_INDEX, factory->NewEcmaHClass(JSObject::SIZE, JSType::JS_OBJECT));
303 SetConstant(ConstantIndex::CLASS_PROTOTYPE_HCLASS_INDEX,
305 SetConstant(ConstantIndex::CLASS_CONSTRUCTOR_HCLASS_INDEX,
307 SetConstant(ConstantIndex::JS_PROXY_ORDINARY_CLASS_INDEX,
310 SetConstant(ConstantIndex::JS_NATIVE_POINTER_CLASS_INDEX,
316 SetConstant(ConstantIndex::JS_REALM_CLASS_INDEX,
318 SetConstant(ConstantIndex::JS_REGEXP_ITERATOR_CLASS_INDEX,
320 SetConstant(ConstantIndex::JS_SET_ITERATOR_CLASS_INDEX,
322 SetConstant(ConstantIndex::JS_SHARED_SET_ITERATOR_CLASS_INDEX,
325 SetConstant(ConstantIndex::JS_MAP_ITERATOR_CLASS_INDEX,
327 SetConstant(ConstantIndex::JS_SHARED_MAP_ITERATOR_CLASS_INDEX,
330 SetConstant(ConstantIndex::JS_ARRAY_ITERATOR_CLASS_INDEX,
332 SetConstant(ConstantIndex::JS_SHARED_ARRAY_ITERATOR_CLASS_INDEX,
334 SetConstant(ConstantIndex::JS_API_ARRAYLIST_ITERATOR_CLASS_INDEX,
336 SetConstant(ConstantIndex::JS_API_DEQUE_ITERATOR_CLASS_INDEX,
338 SetConstant(ConstantIndex::JS_API_LIGHTWEIGHTMAP_ITERATOR_CLASS_INDEX,
341 SetConstant(ConstantIndex::JS_API_LIGHTWEIGHTSET_ITERATOR_CLASS_INDEX,
344 SetConstant(ConstantIndex::JS_API_BITVECTOR_ITERATOR_CLASS_INDEX,
357 SetConstant(ConstantIndex::JS_PROXY_CALLABLE_CLASS_INDEX, JSTaggedValue(jsProxyCallableClass));
362 SetConstant(ConstantIndex::JS_PROXY_CONSTRUCT_CLASS_INDEX, JSTaggedValue(jsProxyConstructClass));
367 SetConstant(ConstantIndex::EMPTY_LAYOUT_INFO_OBJECT_INDEX, factory->CreateLayoutInfo(0));
368 SetConstant(ConstantIndex::EMPTY_TAGGED_QUEUE_OBJECT_INDEX, factory->NewTaggedQueue(0));
369 SetConstant(ConstantIndex::DEFAULT_SUPERS_INDEX,
380 SetConstant(ConstantIndex::CACHED_JSCOLLATOR_LOCALES_INDEX, JSTaggedValue::Undefined());
387 SetConstant(ConstantIndex::CACHED_JSCOLLATOR_LOCALES_INDEX, value);
394 SetConstant(static_cast<ConstantIndex>(i), JSTaggedValue::Undefined());
400 SetConstant(ConstantIndex::UNDEFINED_INDEX, JSTaggedValue::Undefined());
401 SetConstant(ConstantIndex::NULL_INDEX, JSTaggedValue::Null());
412 SetConstant(iter.second.first, hclass);
414 SetConstant(iter.second.first, originHClass);
416 SetConstant(iter.second.second, hclassWithProto);