Lines Matching full:static
51 static constexpr uint32_t TRACE_NUMBER = 100;
52 static constexpr uint32_t RT_STUB_FUNC_SIZE = 8;
54 static void Initialize(JSThread *thread);
57 static JSTaggedType name(uintptr_t argGlue, uint32_t argc, uintptr_t argv);
63 … inline static JSTaggedType GetTArg(uintptr_t argv, [[maybe_unused]] uint32_t argc, uint32_t index) in RUNTIME_STUB_WITH_DFX()
69 … inline static JSTaggedValue GetArg(uintptr_t argv, [[maybe_unused]] uint32_t argc, uint32_t index) in GetArg()
76 … inline static JSHandle<T> GetHArg(uintptr_t argv, [[maybe_unused]] uint32_t argc, uint32_t index) in GetHArg()
83 inline static T *GetPtrArg(uintptr_t argv, [[maybe_unused]] uint32_t argc, uint32_t index) in GetPtrArg()
89 static void Dump(JSTaggedType value);
90 static void DebugDump(JSTaggedType value);
91 static void DumpWithHint(uintptr_t hintStrAddress, JSTaggedType value);
92 static void DebugDumpWithHint(uintptr_t hintStrAddress, JSTaggedType value);
93 static void DebugPrint(int fmtMessageId, ...);
94 static void DebugPrintCustom(uintptr_t fmt, ...);
95 static void DebugPrintInstruction([[maybe_unused]] uintptr_t argGlue, const uint8_t *pc);
96 static void CollectingOpcodes([[maybe_unused]] uintptr_t argGlue, const uint8_t *pc);
97 static void DebugOsrEntry([[maybe_unused]] uintptr_t argGlue, const uint8_t *codeEntry);
98 static void Comment(uintptr_t argStr);
99 static void FatalPrint(int fmtMessageId, ...);
100 static void FatalPrintCustom(uintptr_t fmt, ...);
101 static void MarkingBarrier([[maybe_unused]] uintptr_t argGlue,
103 …static void SharedGCMarkingBarrier(uintptr_t argGlue, uintptr_t object, size_t offset, TaggedObjec…
104 …static void CMCGCMarkingBarrier(uintptr_t argGlue, uintptr_t object, size_t offset, TaggedObject *…
105 static JSTaggedType ReadBarrier(uintptr_t argGlue, uintptr_t addr);
106 static void CopyCallTarget(uintptr_t argGlue, uintptr_t callTarget);
107 static void CopyArgvArray(uintptr_t argGlue, uintptr_t argv, uint64_t argc);
108 static JSTaggedType GetActualArgvNoGC(uintptr_t argGlue);
109 …static void InsertOldToNewRSet([[maybe_unused]] uintptr_t argGlue, uintptr_t object, size_t offset…
110 …static void InsertLocalToShareRSet([[maybe_unused]] uintptr_t argGlue, uintptr_t object, size_t of…
111 static void SetBitAtomic(GCBitset::GCBitsetWord *word, GCBitset::GCBitsetWord mask,
113 static int32_t DoubleToInt(double x, size_t bits);
114 static int32_t SaturateTruncDoubleToInt32(double x);
115 static uint8_t LrInt(double x);
116 static double FloatMod(double x, double y);
117 static double FloatAcos(double x);
118 static double FloatAcosh(double x);
119 static double FloatAsin(double x);
120 static double FloatAsinh(double x);
121 static double FloatAtan(double x);
122 static double FloatAtan2(double y, double x);
123 static double FloatAtanh(double x);
124 static double FloatCos(double x);
125 static double FloatCosh(double x);
126 static double FloatSin(double x);
127 static double FloatSinh(double x);
128 static double FloatTan(double x);
129 static double FloatTanh(double x);
130 static double FloatTrunc(double x);
131 static double FloatFloor(double x);
132 static double FloatLog(double x);
133 static double FloatLog2(double x);
134 static double FloatLog10(double x);
135 static double FloatLog1p(double x);
136 static double FloatExp(double x);
137 static double FloatExpm1(double x);
138 static double FloatPow(double base, double exp);
139 static double FloatCbrt(double x);
140 static double FloatCeil(double x);
141 static double CallDateNow();
142 static void UpdateFieldType(uintptr_t argGlue, JSTaggedType hclass, uint64_t value);
143 static bool BigIntEquals(JSTaggedType left, JSTaggedType right);
144 static bool BigIntSameValueZero(JSTaggedType key, JSTaggedType other);
145 …static JSTaggedValue JSHClassFindProtoTransitions(uintptr_t argGlue, JSHClass *cls, JSTaggedValue …
147 static void FinishObjSizeTracking(uintptr_t argGlue, JSHClass *cls);
148 static JSTaggedValue NumberHelperStringToDouble(uintptr_t argGlue, EcmaString *str);
149 static int IntLexicographicCompare(JSTaggedType x, JSTaggedType y);
150 static int DoubleLexicographicCompare(JSTaggedType x, JSTaggedType y);
151 static int FastArraySortString(uintptr_t argGlue, JSTaggedValue x, JSTaggedValue y);
152 … static JSTaggedValue StringToNumber(uintptr_t argGlue, JSTaggedType numberString, int32_t radix);
153 static void ArrayTrim(uintptr_t argGlue, TaggedArray *array, int64_t newLength);
154 static double TimeClip(double time);
155 static double SetDateValues(double year, double month, double day);
156 static void StartCallTimer(uintptr_t argGlue, JSTaggedType func, bool isAot);
157 static void EndCallTimer(uintptr_t argGlue, JSTaggedType func);
158 static JSTaggedValue RuntimeArraySort(JSThread *thread, JSHandle<JSTaggedValue> thisHandle);
160 static JSTaggedValue CallBoundFunction(EcmaRuntimeCallInfo *info);
162 …static int32_t StringGetStart(bool isUtf8, EcmaString *srcString, int32_t length, int32_t startInd…
163 …static int32_t StringGetEnd(bool isUtf8, EcmaString *srcString, int32_t start, int32_t length, int…
164 …static void CopyTypedArrayBuffer(uintptr_t argGlue, JSTypedArray *srcArray, JSTypedArray *targetAr…
166 …static inline uint32_t RuntimeGetBytecodePcOfstForBaseline(JSThread *thread, const JSHandle<JSFunc…
168 static void ReverseTypedArray(uintptr_t argGlue, JSTypedArray *typedArray);
169 static void SortTypedArray(uintptr_t argGlue, JSTypedArray *typedArray);
170 …static inline uintptr_t RuntimeGetNativePcOfstForBaseline(JSThread *thread, const JSHandle<JSFunct…
172 static void ObjectCopy(uintptr_t argGlue, JSTaggedType *dstObj,
174 static void CopyObjectPrimitive(uintptr_t argGlue, JSTaggedType *dstObj,
176 static void FillObject(JSTaggedType *dst, JSTaggedType value, uint32_t count);
177 static void ReverseArray(uintptr_t argGlue, JSTaggedType *dst, uint32_t length);
179 static JSTaggedValue FindPatchModule(uintptr_t argGlue, JSTaggedValue resolvedModule);
180 static JSTaggedValue UpdateSharedModule(uintptr_t argGlue, JSTaggedValue resolvedModule);
181 static void FatalPrintMisstakenResolvedBinding(int32_t index, JSTaggedValue curModule);
182 static void LoadNativeModuleFailed(JSTaggedValue curModule);
183 static void TraceLazyDeoptCommitSuccess(uintptr_t argGlue, JSHandle<JSTaggedValue> func);
184 static JSTaggedValue GetExternalModuleVar(uintptr_t argGlue, JSFunction *jsFunc, int32_t index);
185 static bool MarkRSetCardTable(BaseObject* obj);
186 static void MarkInBuffer(BaseObject* ref);
187 static void BatchMarkInBuffer(void* src, size_t count);
190 … static void DumpToStreamWithHint(std::ostream &out, std::string_view prompt, JSTaggedValue value);
191 …static inline void DumpInfoForMoreLdInfo(JSThread *thread, JSHandle<JSTaggedValue> &receiver, CStr…
192 …static inline void DumpInfoForLdObjByValue(JSThread *thread, JSHandle<JSTaggedValue> &profile, JST…
194 static inline JSTaggedValue RuntimeInc(JSThread *thread, const JSHandle<JSTaggedValue> &value);
195 static inline JSTaggedValue RuntimeDec(JSThread *thread, const JSHandle<JSTaggedValue> &value);
196 …static inline JSTaggedValue RuntimeExp(JSThread *thread, JSTaggedValue base, JSTaggedValue exponen…
197 static inline JSTaggedValue RuntimeIsIn(JSThread *thread, const JSHandle<JSTaggedValue> &prop,
199 …static inline JSTaggedValue RuntimeInstanceof(JSThread *thread, const JSHandle<JSTaggedValue> &obj,
201 …static inline JSTaggedValue RuntimeInstanceofByHandler(JSThread *thread, JSHandle<JSTaggedValue> t…
204 …static inline JSTaggedValue RuntimeCreateGeneratorObj(JSThread *thread, const JSHandle<JSTaggedVal…
206 static inline JSTaggedValue RuntimeCreateAsyncGeneratorObj(JSThread *thread,
209 …static inline JSTaggedValue RuntimeAsyncGeneratorResolve(JSThread *thread, JSHandle<JSTaggedValue>…
211 …static inline JSTaggedValue RuntimeAsyncGeneratorReject(JSThread *thread, JSHandle<JSTaggedValue> …
213 …static inline JSTaggedValue RuntimeGetTemplateObject(JSThread *thread, const JSHandle<JSTaggedValu…
214 …static inline JSTaggedValue RuntimeGetNextPropName(JSThread *thread, const JSHandle<JSTaggedValue>…
215 …static inline JSTaggedValue RuntimeIterNext(JSThread *thread, const JSHandle<JSTaggedValue> &iter);
216 …static inline JSTaggedValue RuntimeCloseIterator(JSThread *thread, const JSHandle<JSTaggedValue> &…
217 …static inline JSTaggedValue RuntimeSuperCallSpread(JSThread *thread, const JSHandle<JSTaggedValue>…
220 …static inline JSTaggedValue RuntimeOptSuperCallSpread(JSThread *thread, const JSHandle<JSTaggedVal…
223 static inline JSTaggedValue RuntimeSuperCallForwardAllArgs(JSThread *thread, JSTaggedType *sp,
227 …static inline JSTaggedValue RuntimeDelObjProp(JSThread *thread, const JSHandle<JSTaggedValue> &obj,
229 …static inline JSTaggedValue RuntimeNewObjApply(JSThread *thread, const JSHandle<JSTaggedValue> &fu…
231 …static inline JSTaggedValue RuntimeCreateIterResultObj(JSThread *thread, const JSHandle<JSTaggedVa…
233 static inline JSTaggedValue RuntimeAsyncFunctionAwaitUncaught(JSThread *thread,
236 static inline JSTaggedValue RuntimeAsyncFunctionResolveOrReject(JSThread *thread,
240 …static inline JSTaggedValue RuntimeCopyDataProperties(JSThread *thread, const JSHandle<JSTaggedVal…
242 …static inline JSTaggedValue RuntimeStArraySpread(JSThread *thread, const JSHandle<JSTaggedValue> &…
244 …static inline JSTaggedValue RuntimeSetObjectWithProto(JSThread *thread, const JSHandle<JSTaggedVal…
246 …static inline JSTaggedValue RuntimeGetIteratorNext(JSThread *thread, const JSHandle<JSTaggedValue>…
248 …static inline JSTaggedValue RuntimeLdObjByValue(JSThread *thread, const JSHandle<JSTaggedValue> &o…
251 …static inline JSTaggedValue RuntimeStObjByValue(JSThread *thread, const JSHandle<JSTaggedValue> &o…
254 …static inline JSTaggedValue RuntimeStOwnByValue(JSThread *thread, const JSHandle<JSTaggedValue> &o…
257 …static inline JSTaggedValue RuntimeLdSuperByValue(JSThread *thread, const JSHandle<JSTaggedValue> …
259 …static inline JSTaggedValue RuntimeStSuperByValue(JSThread *thread, const JSHandle<JSTaggedValue> …
262 …static inline JSTaggedValue RuntimeLdObjByIndex(JSThread *thread, const JSHandle<JSTaggedValue> &o…
264 …static inline JSTaggedValue RuntimeStObjByIndex(JSThread *thread, const JSHandle<JSTaggedValue> &o…
266 …static inline JSTaggedValue RuntimeStOwnByIndex(JSThread *thread, const JSHandle<JSTaggedValue> &o…
269 …static inline JSTaggedValue RuntimeStGlobalRecord(JSThread *thread, const JSHandle<JSTaggedValue> …
271 static inline JSTaggedValue RuntimeNeg(JSThread *thread, const JSHandle<JSTaggedValue> &value);
272 static inline JSTaggedValue RuntimeNot(JSThread *thread, const JSHandle<JSTaggedValue> &value);
273 …static inline JSTaggedValue RuntimeResolveClass(JSThread *thread, const JSHandle<JSFunction> &ctor,
277 …static inline JSTaggedValue RuntimeCloneClassFromTemplate(JSThread *thread, const JSHandle<JSFunct…
280 static inline JSTaggedValue RuntimeCreateClassWithBuffer(JSThread *thread,
287 …static inline void SetProfileTypeInfoCellToFunction(JSThread *thread, const JSHandle<JSFunction> &…
289 static inline JSTaggedValue RuntimeCreateSharedClass(JSThread *thread,
294 …static inline JSTaggedValue RuntimeLdSendableClass(JSThread *thread, const JSHandle<JSTaggedValue>…
296 static inline JSTaggedValue RuntimeSetClassInheritanceRelationship(JSThread *thread,
300 … static inline JSTaggedValue RuntimeSetClassConstructorLength(JSThread *thread, JSTaggedValue ctor,
302 …static inline JSTaggedValue RuntimeNotifyInlineCache(JSThread *thread, const JSHandle<JSFunction> …
304 …static inline JSTaggedValue RuntimeStOwnByValueWithNameSet(JSThread *thread, const JSHandle<JSTagg…
307 …static inline JSTaggedValue RuntimeStOwnByName(JSThread *thread, const JSHandle<JSTaggedValue> &ob…
310 …static inline JSTaggedValue RuntimeSuspendGenerator(JSThread *thread, const JSHandle<JSTaggedValue…
312 static inline JSTaggedValue RuntimeGetModuleNamespace(JSThread *thread, int32_t index);
313 static inline JSTaggedValue RuntimeGetModuleNamespace(JSThread *thread, int32_t index,
315 … static inline JSTaggedValue RuntimeGetModuleNamespace(JSThread *thread, JSTaggedValue localName);
316 static inline JSTaggedValue RuntimeGetModuleNamespace(JSThread *thread, JSTaggedValue localName,
318 static inline void RuntimeStModuleVar(JSThread *thread, int32_t index, JSTaggedValue value);
319 static inline void RuntimeStModuleVar(JSThread *thread, int32_t index, JSTaggedValue value,
321 static inline void RuntimeStModuleVar(JSThread *thread, JSTaggedValue key, JSTaggedValue value);
322 static inline void RuntimeStModuleVar(JSThread *thread, JSTaggedValue key, JSTaggedValue value,
324 static inline JSTaggedValue RuntimeLdLocalModuleVar(JSThread *thread, int32_t index);
325 static inline JSTaggedValue RuntimeLdLocalModuleVarWithModule(JSThread *thread, int32_t index,
327 static inline JSTaggedValue RuntimeLdLocalModuleVar(JSThread *thread, int32_t index,
329 static inline JSTaggedValue RuntimeLdExternalModuleVar(JSThread *thread, int32_t index);
330 … static inline JSTaggedValue RuntimeLdExternalModuleVarWithModule(JSThread *thread, int32_t index,
332 static inline JSTaggedValue RuntimeLdSendableExternalModuleVar(JSThread *thread, int32_t index,
334 …static inline JSTaggedValue RuntimeLdSendableLocalModuleVar(JSThread *thread, int32_t index, JSTag…
335 static inline JSTaggedValue RuntimeLdExternalModuleVar(JSThread *thread, int32_t index,
337 …static inline JSTaggedValue RuntimeLdLazySendableExternalModuleVar(JSThread *thread, int32_t index,
339 static inline JSTaggedValue RuntimeLdLazyExternalModuleVar(JSThread *thread, int32_t index,
341 static inline JSTaggedValue RuntimeLdModuleVar(JSThread *thread, JSTaggedValue key, bool inner);
342 static inline JSTaggedValue RuntimeLdModuleVar(JSThread *thread, JSTaggedValue key, bool inner,
344 …static inline JSTaggedValue RuntimeGetPropIterator(JSThread *thread, const JSHandle<JSTaggedValue>…
345 static inline JSTaggedValue RuntimeAsyncFunctionEnter(JSThread *thread);
346 …static inline JSTaggedValue RuntimeGetIterator(JSThread *thread, const JSHandle<JSTaggedValue> &ob…
347 …static inline JSTaggedValue RuntimeGetAsyncIterator(JSThread *thread, const JSHandle<JSTaggedValue…
348 …static inline void RuntimeSetGeneratorState(JSThread *thread, const JSHandle<JSTaggedValue> &genOb…
350 static inline void RuntimeThrow(JSThread *thread, JSTaggedValue value);
351 static inline void RuntimeThrowThrowNotExists(JSThread *thread);
352 static inline void RuntimeThrowPatternNonCoercible(JSThread *thread);
353 static inline void RuntimeThrowDeleteSuperProperty(JSThread *thread);
354 … static inline void RuntimeThrowUndefinedIfHole(JSThread *thread, const JSHandle<EcmaString> &obj);
355 static inline void RuntimeThrowIfNotObject(JSThread *thread);
356 …static inline void RuntimeThrowConstAssignment(JSThread *thread, const JSHandle<EcmaString> &value…
357 static inline JSTaggedValue RuntimeLdGlobalRecord(JSThread *thread, JSTaggedValue key);
358 …static inline JSTaggedValue RuntimeTryLdGlobalByName(JSThread *thread, const JSHandle<JSTaggedValu…
360 …static inline JSTaggedValue RuntimeTryUpdateGlobalRecord(JSThread *thread, JSTaggedValue prop, JST…
361 …static inline JSTaggedValue RuntimeThrowReferenceError(JSThread *thread, const JSHandle<JSTaggedVa…
363 …static inline JSTaggedValue RuntimeLdGlobalVarFromProto(JSThread *thread, const JSHandle<JSTaggedV…
365 …static inline JSTaggedValue RuntimeStGlobalVar(JSThread *thread, const JSHandle<JSTaggedValue> &pr…
367 …static inline JSTaggedValue RuntimeToNumber(JSThread *thread, const JSHandle<JSTaggedValue> &value…
368 …static inline JSTaggedValue RuntimeDynamicImport(JSThread *thread, const JSHandle<JSTaggedValue> &…
370 …static inline JSTaggedValue RuntimeToNumeric(JSThread *thread, const JSHandle<JSTaggedValue> &valu…
371 static inline JSTaggedValue RuntimeEq(JSThread *thread, const JSHandle<JSTaggedValue> &left,
373 …static inline JSTaggedValue RuntimeLdObjByName(JSThread *thread, JSTaggedValue obj, JSTaggedValue …
375 static inline JSTaggedValue RuntimeNotEq(JSThread *thread, const JSHandle<JSTaggedValue> &left,
377 static inline JSTaggedValue RuntimeLess(JSThread *thread, const JSHandle<JSTaggedValue> &left,
379 static inline JSTaggedValue RuntimeLessEq(JSThread *thread, const JSHandle<JSTaggedValue> &left,
381 … static inline JSTaggedValue RuntimeGreater(JSThread *thread, const JSHandle<JSTaggedValue> &left,
383 …static inline JSTaggedValue RuntimeGreaterEq(JSThread *thread, const JSHandle<JSTaggedValue> &left,
385 static inline JSTaggedValue RuntimeAdd2(JSThread *thread, const JSHandle<JSTaggedValue> &left,
387 static inline JSTaggedValue RuntimeShl2(JSThread *thread, const JSHandle<JSTaggedValue> &left,
389 static inline JSTaggedValue RuntimeShr2(JSThread *thread, const JSHandle<JSTaggedValue> &left,
391 static inline JSTaggedValue RuntimeSub2(JSThread *thread, const JSHandle<JSTaggedValue> &left,
393 static inline JSTaggedValue RuntimeMul2(JSThread *thread, const JSHandle<JSTaggedValue> &left,
395 static inline JSTaggedValue RuntimeDiv2(JSThread *thread, const JSHandle<JSTaggedValue> &left,
397 static inline JSTaggedValue RuntimeMod2(JSThread *thread, const JSHandle<JSTaggedValue> &left,
399 static inline JSTaggedValue RuntimeAshr2(JSThread *thread, const JSHandle<JSTaggedValue> &left,
401 static inline JSTaggedValue RuntimeAnd2(JSThread *thread, const JSHandle<JSTaggedValue> &left,
403 static inline JSTaggedValue RuntimeOr2(JSThread *thread, const JSHandle<JSTaggedValue> &left,
405 static inline JSTaggedValue RuntimeXor2(JSThread *thread, const JSHandle<JSTaggedValue> &left,
407 static inline JSTaggedValue RuntimeStOwnByNameWithNameSet(JSThread *thread,
411 …static inline JSTaggedValue RuntimeStObjByName(JSThread *thread, const JSHandle<JSTaggedValue> &ob…
414 static inline JSTaggedValue RuntimeToJSTaggedValueWithInt32(JSThread *thread,
416 static inline JSTaggedValue RuntimeToJSTaggedValueWithUint32(JSThread *thread,
418 static inline JSTaggedValue RuntimeCreateEmptyObject(JSThread *thread, ObjectFactory *factory,
420 static inline JSTaggedValue RuntimeCreateEmptyArray(JSThread *thread, ObjectFactory *factory,
422 …static inline JSTaggedValue RuntimeGetUnmapedArgs(JSThread *thread, JSTaggedType *sp, uint32_t act…
424 …static inline JSTaggedValue RuntimeCopyRestArgs(JSThread *thread, JSTaggedType *sp, uint32_t restN…
426 … static inline JSTaggedValue RuntimeCreateArrayWithBuffer(JSThread *thread, ObjectFactory *factory,
428 …static inline JSTaggedValue RuntimeCreateObjectWithBuffer(JSThread *thread, ObjectFactory *factory,
430 static inline JSTaggedValue RuntimeNewLexicalEnv(JSThread *thread, uint16_t numVars);
431 static inline JSTaggedValue RuntimeNewSendableEnv(JSThread *thread, uint16_t numVars);
432 …static inline JSTaggedValue RuntimeNewObjRange(JSThread *thread, const JSHandle<JSTaggedValue> &fu…
435 …static inline JSTaggedValue RuntimeDefinefunc(JSThread *thread, const JSHandle<JSTaggedValue> &con…
439 static inline void DefineFuncTryUseAOTHClass(JSThread* thread,
443 …static inline JSTaggedValue RuntimeCreateRegExpWithLiteral(JSThread *thread, const JSHandle<JSTagg…
445 static inline JSTaggedValue RuntimeThrowIfSuperNotCorrectCall(JSThread *thread, uint16_t index,
447 …static inline JSTaggedValue RuntimeCreateObjectHavingMethod(JSThread *thread, ObjectFactory *facto…
450 …static inline JSTaggedValue RuntimeCreateObjectWithExcludedKeys(JSThread *thread, uint16_t numKeys,
453 …static inline JSTaggedValue RuntimeDefineMethod(JSThread *thread, const JSHandle<Method> &methodHa…
457 …static inline JSTaggedValue RuntimeCallSpread(JSThread *thread, const JSHandle<JSTaggedValue> &fun…
460 …static inline JSTaggedValue RuntimeDefineGetterSetterByValue(JSThread *thread, const JSHandle<JSOb…
466 …static inline JSTaggedValue RuntimeSuperCall(JSThread *thread, const JSHandle<JSTaggedValue> &func,
469 …static inline JSTaggedValue RuntimeOptSuperCall(JSThread *thread, const JSHandle<JSTaggedValue> &f…
473 static inline JSTaggedValue RuntimeThrowTypeError(JSThread *thread, const char *message);
474 …static inline JSTaggedValue RuntimeGetCallSpreadArgs(JSThread *thread, const JSHandle<JSTaggedValu…
475 …static inline JSTaggedValue RuntimeThrowReferenceError(JSThread *thread, JSTaggedValue prop, const…
476 static inline JSTaggedValue RuntimeThrowSyntaxError(JSThread *thread, const char *message);
477 …static inline JSTaggedValue RuntimeLdBigInt(JSThread *thread, const JSHandle<JSTaggedValue> &numbe…
478 …static inline JSTaggedValue RuntimeCallBigIntAsIntN(JSThread *thread, JSTaggedValue bits, JSTagged…
479 …static inline JSTaggedValue RuntimeCallBigIntAsUintN(JSThread *thread, JSTaggedValue bits, JSTagge…
480 …static inline JSTaggedValue RuntimeNewLexicalEnvWithName(JSThread *thread, uint16_t numVars, uint1…
481 static inline JSTaggedValue RuntimeOptGetUnmapedArgs(JSThread *thread, uint32_t actualNumArgs);
482 static inline JSTaggedValue RuntimeGetUnmapedJSArgumentObj(JSThread *thread,
484 …static inline JSTaggedValue RuntimeOptNewLexicalEnvWithName(JSThread *thread, uint16_t numVars, ui…
487 …static inline JSTaggedValue RuntimeOptCopyRestArgs(JSThread *thread, uint32_t actualArgc, uint32_t…
488 …static inline JSTaggedValue RuntimeOptSuspendGenerator(JSThread *thread, const JSHandle<JSTaggedVa…
490 …static inline JSTaggedValue RuntimeOptAsyncGeneratorResolve(JSThread *thread, JSHandle<JSTaggedVal…
492 static inline JSTaggedValue CommonCreateObjectWithExcludedKeys(JSThread *thread,
496 …static inline JSTaggedValue RuntimeOptCreateObjectWithExcludedKeys(JSThread *thread, uintptr_t arg…
497 …static inline JSTaggedValue RuntimeOptNewObjRange(JSThread *thread, uintptr_t argv, uint32_t argc);
498 static inline JSTaggedValue RuntimeOptConstruct(JSThread *thread, JSHandle<JSTaggedValue> ctor,
501 static inline JSTaggedValue RuntimeOptConstructProxy(JSThread *thread, JSHandle<JSProxy> ctor,
504 …static inline JSTaggedValue RuntimeOptConstructBoundFunction(JSThread *thread, JSHandle<JSBoundFun…
508 …static inline JSTaggedValue RuntimeOptConstructGeneric(JSThread *thread, JSHandle<JSFunction> ctor,
511 …static inline JSTaggedValue GetResultValue(JSThread *thread, bool isAotMethod, JSHandle<JSFunction…
513 …static inline JSTaggedValue RuntimeOptGenerateScopeInfo(JSThread *thread, uint16_t scopeId, JSTagg…
514 static inline JSTaggedType *GetActualArgv(JSThread *thread);
515 static inline JSTaggedType *GetActualArgvFromStub(JSThread *thread);
516 static inline OptimizedJSFunctionFrame *GetOptimizedJSFunctionFrame(JSThread *thread);
517 static inline OptimizedJSFunctionFrame *GetOptimizedJSFunctionFrameNoGC(JSThread *thread);
519 static JSTaggedValue NewObject(EcmaRuntimeCallInfo *info);
520 static void SaveFrameToContext(JSThread *thread, JSHandle<GeneratorContext> context);
522 static inline JSTaggedValue RuntimeLdPatchVar(JSThread *thread, uint32_t index);
523 static inline JSTaggedValue RuntimeStPatchVar(JSThread *thread, uint32_t index,
525 … static inline JSTaggedValue RuntimeNotifyConcurrentResult(JSThread *thread, JSTaggedValue result,
527 static inline JSTaggedValue RuntimeDefineField(JSThread *thread, JSTaggedValue obj,
529 …static inline JSTaggedValue RuntimeCreatePrivateProperty(JSThread *thread, JSTaggedValue constpool,
531 …static inline JSTaggedValue RuntimeDefinePrivateProperty(JSThread *thread, JSTaggedValue lexicalEn…
533 static inline JSTaggedValue RuntimeLdPrivateProperty(JSThread *thread, JSTaggedValue lexicalEnv,
535 static inline JSTaggedValue RuntimeStPrivateProperty(JSThread *thread, JSTaggedValue lexicalEnv,
537 static inline JSTaggedValue RuntimeTestIn(JSThread *thread, JSTaggedValue lexicalEnv,
539 …static inline JSTaggedValue RuntimeUpdateAOTHClass(JSThread *thread, const JSHandle<JSHClass> &old…
541 static inline JSTaggedValue RuntimeNotifyDebuggerStatement(JSThread *thread);
542 …static inline bool CheckElementsNumber(const JSThread *thread, JSHandle<TaggedArray> elements, uin…
543 static inline JSHandle<JSTaggedValue> GetOrCreateNumberString(JSThread *thread,
545 …static inline JSTaggedValue TryCopyCOWArray(JSThread *thread, JSHandle<JSArray> holderHandler, boo…
546 …static inline JSTaggedValue ArrayNumberSort(JSThread *thread, JSHandle<JSObject> thisObj, uint32_t…
547 static inline bool ShouldUseAOTHClass(const JSHandle<JSTaggedValue> &ihc,
550 …static inline JSTaggedType RuntimeTryGetInternString(uintptr_t argGlue, const JSHandle<EcmaString>…
551 static inline void RuntimeSetPatchModule(JSThread *thread, const JSHandle<JSFunction> &func);
553 …static inline JSTaggedValue RuntimeDecodeURIComponent(JSThread *thread, const JSHandle<EcmaString>…
556 static inline uint16_t GetCodeUnit(Span<T> &sp, int32_t index, int32_t length);
558 …static inline JSTaggedValue DecodePercentEncoding(JSThread *thread, const JSHandle<EcmaString> &st…
561 static inline JSTaggedValue DecodePercentEncoding(JSThread *thread, int32_t &n, int32_t &k,
565 …static inline JSTaggedValue UTF16EncodeCodePoint(JSThread *thread, const std::vector<uint8_t> &oct,
567 static inline bool IsFastRegExp(uintptr_t argGlue, JSTaggedValue thisValue);
569 static inline RememberedSet* CreateLocalToShare(Region *region);
570 static inline RememberedSet* CreateOldToNew(Region *region);
571 static inline uint8_t GetValueFromTwoHex(uint8_t front, uint8_t behind);
572 static inline bool IsTargetBundleName(uintptr_t argGlue);
573 …static inline bool MaybeHasInterfacesType(JSThread *thread, const JSHandle<TaggedArray> &arrayHand…
574 static inline JSHandle<JSFunction> EntranceForDefineClass(JSThread *thread,
581 static inline void DefineInterfaceTypeOwnProperty(JSThread *thread, JSHandle<JSFunction> &cls,