• Home
  • Raw
  • Download

Lines Matching full:thread

22 JSTaggedValue SlowRuntimeStub::CallSpread(JSThread *thread, JSTaggedValue func, JSTaggedValue obj,  in CallSpread()  argument
25 INTERPRETER_TRACE(thread, CallSpread); in CallSpread()
26 [[maybe_unused]] EcmaHandleScope handleScope(thread); in CallSpread()
28 JSHandle<JSTaggedValue> jsFunc(thread, func); in CallSpread()
29 JSHandle<JSTaggedValue> jsArray(thread, array); in CallSpread()
30 JSHandle<JSTaggedValue> taggedObj(thread, obj); in CallSpread()
31 return RuntimeStubs::RuntimeCallSpread(thread, jsFunc, taggedObj, jsArray); in CallSpread()
34 JSTaggedValue SlowRuntimeStub::Neg(JSThread *thread, JSTaggedValue value) in Neg() argument
36 INTERPRETER_TRACE(thread, Neg); in Neg()
37 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Neg()
39 JSHandle<JSTaggedValue> inputTag(thread, value); in Neg()
40 return RuntimeStubs::RuntimeNeg(thread, inputTag); in Neg()
43 JSTaggedValue SlowRuntimeStub::AsyncFunctionEnter(JSThread *thread) in AsyncFunctionEnter() argument
45 INTERPRETER_TRACE(thread, AsyncFunctionEnter); in AsyncFunctionEnter()
46 [[maybe_unused]] EcmaHandleScope handleScope(thread); in AsyncFunctionEnter()
48 return RuntimeStubs::RuntimeAsyncFunctionEnter(thread); in AsyncFunctionEnter()
51 JSTaggedValue SlowRuntimeStub::ToNumber(JSThread *thread, JSTaggedValue value) in ToNumber() argument
53 INTERPRETER_TRACE(thread, Tonumber); in ToNumber()
54 [[maybe_unused]] EcmaHandleScope handleScope(thread); in ToNumber()
56 JSHandle<JSTaggedValue> number(thread, value); in ToNumber()
58 return RuntimeStubs::RuntimeToNumber(thread, number); in ToNumber()
61 JSTaggedValue SlowRuntimeStub::ToNumeric(JSThread *thread, JSTaggedValue value) in ToNumeric() argument
63 INTERPRETER_TRACE(thread, Tonumeric); in ToNumeric()
64 [[maybe_unused]] EcmaHandleScope handleScope(thread); in ToNumeric()
66 JSHandle<JSTaggedValue> numeric(thread, value); in ToNumeric()
68 return RuntimeStubs::RuntimeToNumeric(thread, numeric); in ToNumeric()
71 JSTaggedValue SlowRuntimeStub::Not(JSThread *thread, JSTaggedValue value) in Not() argument
73 INTERPRETER_TRACE(thread, Not); in Not()
74 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Not()
76 JSHandle<JSTaggedValue> inputTag(thread, value); in Not()
77 return RuntimeStubs::RuntimeNot(thread, inputTag); in Not()
80 JSTaggedValue SlowRuntimeStub::Inc(JSThread *thread, JSTaggedValue value) in Inc() argument
82 INTERPRETER_TRACE(thread, Inc); in Inc()
83 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Inc()
85 JSHandle<JSTaggedValue> inputTag(thread, value); in Inc()
86 return RuntimeStubs::RuntimeInc(thread, inputTag); in Inc()
89 JSTaggedValue SlowRuntimeStub::Dec(JSThread *thread, JSTaggedValue value) in Dec() argument
91 INTERPRETER_TRACE(thread, Dec); in Dec()
92 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Dec()
94 JSHandle<JSTaggedValue> inputTag(thread, value); in Dec()
95 return RuntimeStubs::RuntimeDec(thread, inputTag); in Dec()
98 void SlowRuntimeStub::Throw(JSThread *thread, JSTaggedValue value) in Throw() argument
100 INTERPRETER_TRACE(thread, Throw); in Throw()
101 RuntimeStubs::RuntimeThrow(thread, value); in Throw()
104 JSTaggedValue SlowRuntimeStub::GetPropIterator(JSThread *thread, JSTaggedValue value) in GetPropIterator() argument
106 INTERPRETER_TRACE(thread, GetPropIterator); in GetPropIterator()
107 [[maybe_unused]] EcmaHandleScope handleScope(thread); in GetPropIterator()
109 JSHandle<JSTaggedValue> objHandle(thread, value); in GetPropIterator()
110 return RuntimeStubs::RuntimeGetPropIterator(thread, objHandle); in GetPropIterator()
113 void SlowRuntimeStub::ThrowConstAssignment(JSThread *thread, JSTaggedValue value) in ThrowConstAssignment() argument
115 INTERPRETER_TRACE(thread, ThrowConstAssignment); in ThrowConstAssignment()
116 [[maybe_unused]] EcmaHandleScope handleScope(thread); in ThrowConstAssignment()
118 JSHandle<EcmaString> name(thread, value.GetTaggedObject()); in ThrowConstAssignment()
119 return RuntimeStubs::RuntimeThrowConstAssignment(thread, name); in ThrowConstAssignment()
122 JSTaggedValue SlowRuntimeStub::Add2(JSThread *thread, JSTaggedValue left, JSTaggedValue right) in Add2() argument
124 INTERPRETER_TRACE(thread, Add2); in Add2()
125 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Add2()
127 JSHandle<JSTaggedValue> leftValue(thread, left); in Add2()
128 JSHandle<JSTaggedValue> rightValue(thread, right); in Add2()
129 return RuntimeStubs::RuntimeAdd2(thread, leftValue, rightValue); in Add2()
132 JSTaggedValue SlowRuntimeStub::Sub2(JSThread *thread, JSTaggedValue left, JSTaggedValue right) in Sub2() argument
134 INTERPRETER_TRACE(thread, Sub2); in Sub2()
135 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Sub2()
137 JSHandle<JSTaggedValue> leftTag(thread, left); in Sub2()
138 JSHandle<JSTaggedValue> rightTag(thread, right); in Sub2()
139 return RuntimeStubs::RuntimeSub2(thread, leftTag, rightTag); in Sub2()
142 JSTaggedValue SlowRuntimeStub::Mul2(JSThread *thread, JSTaggedValue left, JSTaggedValue right) in Mul2() argument
144 INTERPRETER_TRACE(thread, Mul2); in Mul2()
145 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Mul2()
147 JSHandle<JSTaggedValue> leftTag(thread, left); in Mul2()
148 JSHandle<JSTaggedValue> rightTag(thread, right); in Mul2()
149 return RuntimeStubs::RuntimeMul2(thread, leftTag, rightTag); in Mul2()
152 JSTaggedValue SlowRuntimeStub::Div2(JSThread *thread, JSTaggedValue left, JSTaggedValue right) in Div2() argument
154 INTERPRETER_TRACE(thread, Div2); in Div2()
155 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Div2()
157 JSHandle<JSTaggedValue> leftTag(thread, left); in Div2()
158 JSHandle<JSTaggedValue> rightTag(thread, right); in Div2()
159 return RuntimeStubs::RuntimeDiv2(thread, leftTag, rightTag); in Div2()
162 JSTaggedValue SlowRuntimeStub::Mod2(JSThread *thread, JSTaggedValue left, JSTaggedValue right) in Mod2() argument
164 INTERPRETER_TRACE(thread, Mod2); in Mod2()
165 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Mod2()
167 JSHandle<JSTaggedValue> leftTag(thread, left); in Mod2()
168 JSHandle<JSTaggedValue> rightTag(thread, right); in Mod2()
169 return RuntimeStubs::RuntimeMod2(thread, leftTag, rightTag); in Mod2()
172 JSTaggedValue SlowRuntimeStub::Eq(JSThread *thread, JSTaggedValue left, JSTaggedValue right) in Eq() argument
174 INTERPRETER_TRACE(thread, Eq); in Eq()
175 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Eq()
177 JSHandle<JSTaggedValue> leftValue(thread, left); in Eq()
178 JSHandle<JSTaggedValue> rightValue(thread, right); in Eq()
179 return RuntimeStubs::RuntimeEq(thread, leftValue, rightValue); in Eq()
182 JSTaggedValue SlowRuntimeStub::NotEq(JSThread *thread, JSTaggedValue left, JSTaggedValue right) in NotEq() argument
184 INTERPRETER_TRACE(thread, NotEq); in NotEq()
185 [[maybe_unused]] EcmaHandleScope handleScope(thread); in NotEq()
187 JSHandle<JSTaggedValue> leftValue(thread, left); in NotEq()
188 JSHandle<JSTaggedValue> rightValue(thread, right); in NotEq()
189 return RuntimeStubs::RuntimeNotEq(thread, leftValue, rightValue); in NotEq()
192 JSTaggedValue SlowRuntimeStub::Less(JSThread *thread, JSTaggedValue left, JSTaggedValue right) in Less() argument
194 INTERPRETER_TRACE(thread, Less); in Less()
195 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Less()
197 JSHandle<JSTaggedValue> leftValue(thread, left); in Less()
198 JSHandle<JSTaggedValue> rightValue(thread, right); in Less()
199 return RuntimeStubs::RuntimeLess(thread, leftValue, rightValue); in Less()
202 JSTaggedValue SlowRuntimeStub::LessEq(JSThread *thread, JSTaggedValue left, JSTaggedValue right) in LessEq() argument
204 INTERPRETER_TRACE(thread, LessEq); in LessEq()
205 [[maybe_unused]] EcmaHandleScope handleScope(thread); in LessEq()
207 JSHandle<JSTaggedValue> leftValue(thread, left); in LessEq()
208 JSHandle<JSTaggedValue> rightValue(thread, right); in LessEq()
209 return RuntimeStubs::RuntimeLessEq(thread, leftValue, rightValue); in LessEq()
212 JSTaggedValue SlowRuntimeStub::Greater(JSThread *thread, JSTaggedValue left, JSTaggedValue right) in Greater() argument
214 INTERPRETER_TRACE(thread, Greater); in Greater()
215 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Greater()
217 JSHandle<JSTaggedValue> leftValue(thread, left); in Greater()
218 JSHandle<JSTaggedValue> rightValue(thread, right); in Greater()
219 return RuntimeStubs::RuntimeGreater(thread, leftValue, rightValue); in Greater()
222 JSTaggedValue SlowRuntimeStub::GreaterEq(JSThread *thread, JSTaggedValue left, JSTaggedValue right) in GreaterEq() argument
224 INTERPRETER_TRACE(thread, GreaterEq); in GreaterEq()
225 [[maybe_unused]] EcmaHandleScope handleScope(thread); in GreaterEq()
227 JSHandle<JSTaggedValue> leftValue(thread, left); in GreaterEq()
228 JSHandle<JSTaggedValue> rightValue(thread, right); in GreaterEq()
229 return RuntimeStubs::RuntimeGreaterEq(thread, leftValue, rightValue); in GreaterEq()
232 JSTaggedValue SlowRuntimeStub::Shl2(JSThread *thread, JSTaggedValue left, JSTaggedValue right) in Shl2() argument
234 INTERPRETER_TRACE(thread, Shl2); in Shl2()
235 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Shl2()
237 JSHandle<JSTaggedValue> leftTag(thread, left); in Shl2()
238 JSHandle<JSTaggedValue> rightTag(thread, right); in Shl2()
239 return RuntimeStubs::RuntimeShl2(thread, leftTag, rightTag); in Shl2()
242 JSTaggedValue SlowRuntimeStub::Shr2(JSThread *thread, JSTaggedValue left, JSTaggedValue right) in Shr2() argument
244 INTERPRETER_TRACE(thread, Shr2); in Shr2()
245 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Shr2()
247 JSHandle<JSTaggedValue> leftTag(thread, left); in Shr2()
248 JSHandle<JSTaggedValue> rightTag(thread, right); in Shr2()
249 return RuntimeStubs::RuntimeShr2(thread, leftTag, rightTag); in Shr2()
252 JSTaggedValue SlowRuntimeStub::Ashr2(JSThread *thread, JSTaggedValue left, JSTaggedValue right) in Ashr2() argument
254 INTERPRETER_TRACE(thread, Ashr2); in Ashr2()
255 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Ashr2()
257 JSHandle<JSTaggedValue> leftTag(thread, left); in Ashr2()
258 JSHandle<JSTaggedValue> rightTag(thread, right); in Ashr2()
259 return RuntimeStubs::RuntimeAshr2(thread, leftTag, rightTag); in Ashr2()
262 JSTaggedValue SlowRuntimeStub::And2(JSThread *thread, JSTaggedValue left, JSTaggedValue right) in And2() argument
264 INTERPRETER_TRACE(thread, And2); in And2()
265 [[maybe_unused]] EcmaHandleScope handleScope(thread); in And2()
266 JSHandle<JSTaggedValue> leftTag(thread, left); in And2()
267 JSHandle<JSTaggedValue> rightTag(thread, right); in And2()
268 return RuntimeStubs::RuntimeAnd2(thread, leftTag, rightTag); in And2()
271 JSTaggedValue SlowRuntimeStub::Or2(JSThread *thread, JSTaggedValue left, JSTaggedValue right) in Or2() argument
273 INTERPRETER_TRACE(thread, Or2); in Or2()
274 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Or2()
276 JSHandle<JSTaggedValue> leftTag(thread, left); in Or2()
277 JSHandle<JSTaggedValue> rightTag(thread, right); in Or2()
278 return RuntimeStubs::RuntimeOr2(thread, leftTag, rightTag); in Or2()
281 JSTaggedValue SlowRuntimeStub::Xor2(JSThread *thread, JSTaggedValue left, JSTaggedValue right) in Xor2() argument
283 INTERPRETER_TRACE(thread, Xor2); in Xor2()
284 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Xor2()
286 JSHandle<JSTaggedValue> leftTag(thread, left); in Xor2()
287 JSHandle<JSTaggedValue> rightTag(thread, right); in Xor2()
288 return RuntimeStubs::RuntimeXor2(thread, leftTag, rightTag); in Xor2()
291 JSTaggedValue SlowRuntimeStub::ToJSTaggedValueWithInt32(JSThread *thread, JSTaggedValue value) in ToJSTaggedValueWithInt32() argument
293 INTERPRETER_TRACE(thread, ToJSTaggedValueWithInt32); in ToJSTaggedValueWithInt32()
294 [[maybe_unused]] EcmaHandleScope handleScope(thread); in ToJSTaggedValueWithInt32()
295 JSHandle<JSTaggedValue> valueHandle(thread, value); in ToJSTaggedValueWithInt32()
296 return RuntimeStubs::RuntimeToJSTaggedValueWithInt32(thread, valueHandle); in ToJSTaggedValueWithInt32()
299 JSTaggedValue SlowRuntimeStub::ToJSTaggedValueWithUint32(JSThread *thread, JSTaggedValue value) in ToJSTaggedValueWithUint32() argument
301 INTERPRETER_TRACE(thread, ToJSTaggedValueWithUint32); in ToJSTaggedValueWithUint32()
302 [[maybe_unused]] EcmaHandleScope handleScope(thread); in ToJSTaggedValueWithUint32()
303 JSHandle<JSTaggedValue> valueHandle(thread, value); in ToJSTaggedValueWithUint32()
304 return RuntimeStubs::RuntimeToJSTaggedValueWithUint32(thread, valueHandle); in ToJSTaggedValueWithUint32()
307 JSTaggedValue SlowRuntimeStub::DelObjProp(JSThread *thread, JSTaggedValue obj, JSTaggedValue prop) in DelObjProp() argument
309 INTERPRETER_TRACE(thread, Delobjprop); in DelObjProp()
310 [[maybe_unused]] EcmaHandleScope handleScope(thread); in DelObjProp()
312 JSHandle<JSTaggedValue> objHandle(thread, obj); in DelObjProp()
313 JSHandle<JSTaggedValue> propHandle(thread, prop); in DelObjProp()
314 return RuntimeStubs::RuntimeDelObjProp(thread, objHandle, propHandle); in DelObjProp()
317 JSTaggedValue SlowRuntimeStub::NewObjRange(JSThread *thread, JSTaggedValue func, JSTaggedValue newT… in NewObjRange() argument
320 INTERPRETER_TRACE(thread, NewobjRange); in NewObjRange()
321 [[maybe_unused]] EcmaHandleScope handleScope(thread); in NewObjRange()
323 JSHandle<JSTaggedValue> funcHandle(thread, func); in NewObjRange()
324 JSHandle<JSTaggedValue> newTargetHandle(thread, newTarget); in NewObjRange()
325 … return RuntimeStubs::RuntimeNewObjRange(thread, funcHandle, newTargetHandle, firstArgIdx, length); in NewObjRange()
328 JSTaggedValue SlowRuntimeStub::CreateObjectWithExcludedKeys(JSThread *thread, uint16_t numKeys, JST… in CreateObjectWithExcludedKeys() argument
331 INTERPRETER_TRACE(thread, CreateObjectWithExcludedKeys); in CreateObjectWithExcludedKeys()
332 [[maybe_unused]] EcmaHandleScope handleScope(thread); in CreateObjectWithExcludedKeys()
334 JSHandle<JSTaggedValue> obj(thread, objVal); in CreateObjectWithExcludedKeys()
335 return RuntimeStubs::RuntimeCreateObjectWithExcludedKeys(thread, numKeys, obj, firstArgRegIdx); in CreateObjectWithExcludedKeys()
338 JSTaggedValue SlowRuntimeStub::Exp(JSThread *thread, JSTaggedValue base, JSTaggedValue exponent) in Exp() argument
340 INTERPRETER_TRACE(thread, Exp); in Exp()
341 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Exp()
343 return RuntimeStubs::RuntimeExp(thread, base, exponent); in Exp()
346 JSTaggedValue SlowRuntimeStub::IsIn(JSThread *thread, JSTaggedValue prop, JSTaggedValue obj) in IsIn() argument
348 INTERPRETER_TRACE(thread, IsIn); in IsIn()
349 [[maybe_unused]] EcmaHandleScope handleScope(thread); in IsIn()
351 JSHandle<JSTaggedValue> propHandle(thread, prop); in IsIn()
352 JSHandle<JSTaggedValue> objHandle(thread, obj); in IsIn()
353 return RuntimeStubs::RuntimeIsIn(thread, propHandle, objHandle); in IsIn()
356 JSTaggedValue SlowRuntimeStub::Instanceof(JSThread *thread, JSTaggedValue obj, JSTaggedValue target) in Instanceof() argument
358 INTERPRETER_TRACE(thread, Instanceof); in Instanceof()
359 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Instanceof()
361 JSHandle<JSTaggedValue> objHandle(thread, obj); in Instanceof()
362 JSHandle<JSTaggedValue> targetHandle(thread, target); in Instanceof()
363 return RuntimeStubs::RuntimeInstanceof(thread, objHandle, targetHandle); in Instanceof()
366 JSTaggedValue SlowRuntimeStub::InstanceofByHandler(JSThread *thread, JSTaggedValue target, JSTagged… in InstanceofByHandler() argument
369 INTERPRETER_TRACE(thread, InstanceofByHandler); in InstanceofByHandler()
370 [[maybe_unused]] EcmaHandleScope handleScope(thread); in InstanceofByHandler()
372 JSHandle<JSTaggedValue> objectHandle(thread, object); in InstanceofByHandler()
373 JSHandle<JSTaggedValue> targetHandle(thread, target); in InstanceofByHandler()
374 JSHandle<JSTaggedValue> instOfHandle(thread, instOfHandler); in InstanceofByHandler()
376 … return RuntimeStubs::RuntimeInstanceofByHandler(thread, targetHandle, objectHandle, instOfHandle); in InstanceofByHandler()
379 JSTaggedValue SlowRuntimeStub::NewLexicalEnv(JSThread *thread, uint16_t numVars) in NewLexicalEnv() argument
381 INTERPRETER_TRACE(thread, Newlexenv); in NewLexicalEnv()
382 [[maybe_unused]] EcmaHandleScope handleScope(thread); in NewLexicalEnv()
384 return RuntimeStubs::RuntimeNewLexicalEnv(thread, numVars); in NewLexicalEnv()
387 JSTaggedValue SlowRuntimeStub::NewSendableEnv(JSThread *thread, uint16_t numVars) in NewSendableEnv() argument
389 INTERPRETER_TRACE(thread, NewSendableEnv); in NewSendableEnv()
390 [[maybe_unused]] EcmaHandleScope handleScope(thread); in NewSendableEnv()
392 return RuntimeStubs::RuntimeNewSendableEnv(thread, numVars); in NewSendableEnv()
395 JSTaggedValue SlowRuntimeStub::NewLexicalEnvWithName(JSThread *thread, uint16_t numVars, uint16_t s… in NewLexicalEnvWithName() argument
397 INTERPRETER_TRACE(thread, NewlexenvwithName); in NewLexicalEnvWithName()
398 [[maybe_unused]] EcmaHandleScope handleScope(thread); in NewLexicalEnvWithName()
400 return RuntimeStubs::RuntimeNewLexicalEnvWithName(thread, numVars, scopeId); in NewLexicalEnvWithName()
403 JSTaggedValue SlowRuntimeStub::CreateIterResultObj(JSThread *thread, JSTaggedValue value, JSTaggedV… in CreateIterResultObj() argument
405 INTERPRETER_TRACE(thread, CreateIterResultObj); in CreateIterResultObj()
406 [[maybe_unused]] EcmaHandleScope handleScope(thread); in CreateIterResultObj()
408 JSHandle<JSTaggedValue> valueHandle(thread, value); in CreateIterResultObj()
409 return RuntimeStubs::RuntimeCreateIterResultObj(thread, valueHandle, flag); in CreateIterResultObj()
412 JSTaggedValue SlowRuntimeStub::CreateGeneratorObj(JSThread *thread, JSTaggedValue genFunc) in CreateGeneratorObj() argument
414 INTERPRETER_TRACE(thread, CreateGeneratorObj); in CreateGeneratorObj()
415 [[maybe_unused]] EcmaHandleScope handleScope(thread); in CreateGeneratorObj()
417 JSHandle<JSTaggedValue> generatorFunction(thread, genFunc); in CreateGeneratorObj()
418 return RuntimeStubs::RuntimeCreateGeneratorObj(thread, generatorFunction); in CreateGeneratorObj()
421 JSTaggedValue SlowRuntimeStub::CreateAsyncGeneratorObj(JSThread *thread, JSTaggedValue genFunc) in CreateAsyncGeneratorObj() argument
423 INTERPRETER_TRACE(thread, CreateAsyncGeneratorObj); in CreateAsyncGeneratorObj()
424 [[maybe_unused]] EcmaHandleScope handleScope(thread); in CreateAsyncGeneratorObj()
426 JSHandle<JSTaggedValue> asyncGeneratorFunction(thread, genFunc); in CreateAsyncGeneratorObj()
427 return RuntimeStubs::RuntimeCreateAsyncGeneratorObj(thread, asyncGeneratorFunction); in CreateAsyncGeneratorObj()
430 JSTaggedValue SlowRuntimeStub::SuspendGenerator(JSThread *thread, JSTaggedValue genObj, JSTaggedVal… in SuspendGenerator() argument
432 INTERPRETER_TRACE(thread, SuspendGenerator); in SuspendGenerator()
433 [[maybe_unused]] EcmaHandleScope handleScope(thread); in SuspendGenerator()
435 JSHandle<JSTaggedValue> genObjHandle(thread, genObj); in SuspendGenerator()
436 JSHandle<JSTaggedValue> valueHandle(thread, value); in SuspendGenerator()
437 return RuntimeStubs::RuntimeSuspendGenerator(thread, genObjHandle, valueHandle); in SuspendGenerator()
440 void SlowRuntimeStub::SetGeneratorState(JSThread *thread, JSTaggedValue genObj, int32_t index) in SetGeneratorState() argument
442 INTERPRETER_TRACE(thread, SetGeneratorState); in SetGeneratorState()
443 [[maybe_unused]] EcmaHandleScope handleScope(thread); in SetGeneratorState()
445 JSHandle<JSTaggedValue> genObjHandle(thread, genObj); in SetGeneratorState()
446 return RuntimeStubs::RuntimeSetGeneratorState(thread, genObjHandle, index); in SetGeneratorState()
449 JSTaggedValue SlowRuntimeStub::AsyncFunctionAwaitUncaught(JSThread *thread, JSTaggedValue asyncFunc… in AsyncFunctionAwaitUncaught() argument
452 INTERPRETER_TRACE(thread, AsyncFunctionAwaitUncaught); in AsyncFunctionAwaitUncaught()
453 [[maybe_unused]] EcmaHandleScope handleScope(thread); in AsyncFunctionAwaitUncaught()
454 JSHandle<JSTaggedValue> asyncFuncObjHandle(thread, asyncFuncObj); in AsyncFunctionAwaitUncaught()
455 JSHandle<JSTaggedValue> valueHandle(thread, value); in AsyncFunctionAwaitUncaught()
457 return RuntimeStubs::RuntimeAsyncFunctionAwaitUncaught(thread, asyncFuncObjHandle, valueHandle); in AsyncFunctionAwaitUncaught()
460 JSTaggedValue SlowRuntimeStub::AsyncFunctionResolveOrReject(JSThread *thread, JSTaggedValue asyncFu… in AsyncFunctionResolveOrReject() argument
463 INTERPRETER_TRACE(thread, AsyncFunctionResolveOrReject); in AsyncFunctionResolveOrReject()
464 [[maybe_unused]] EcmaHandleScope handleScope(thread); in AsyncFunctionResolveOrReject()
466 JSHandle<JSTaggedValue> asyncFuncObjHandle(thread, asyncFuncObj); in AsyncFunctionResolveOrReject()
467 JSHandle<JSTaggedValue> valueHandle(thread, value); in AsyncFunctionResolveOrReject()
468 …return RuntimeStubs::RuntimeAsyncFunctionResolveOrReject(thread, asyncFuncObjHandle, valueHandle, … in AsyncFunctionResolveOrReject()
471 JSTaggedValue SlowRuntimeStub::NewObjApply(JSThread *thread, JSTaggedValue func, JSTaggedValue arra… in NewObjApply() argument
473 INTERPRETER_TRACE(thread, NewObjApply); in NewObjApply()
474 [[maybe_unused]] EcmaHandleScope handleScope(thread); in NewObjApply()
476 JSHandle<JSTaggedValue> funcHandle(thread, func); in NewObjApply()
477 JSHandle<JSTaggedValue> jsArray(thread, array); in NewObjApply()
478 return RuntimeStubs::RuntimeNewObjApply(thread, funcHandle, jsArray); in NewObjApply()
481 void SlowRuntimeStub::ThrowUndefinedIfHole(JSThread *thread, JSTaggedValue obj) in ThrowUndefinedIfHole() argument
483 INTERPRETER_TRACE(thread, ThrowUndefinedIfHole); in ThrowUndefinedIfHole()
484 [[maybe_unused]] EcmaHandleScope handleScope(thread); in ThrowUndefinedIfHole()
486 JSHandle<EcmaString> name(thread, obj); in ThrowUndefinedIfHole()
487 return RuntimeStubs::RuntimeThrowUndefinedIfHole(thread, name); in ThrowUndefinedIfHole()
490 JSTaggedValue SlowRuntimeStub::ThrowIfSuperNotCorrectCall(JSThread *thread, uint16_t index, JSTagge… in ThrowIfSuperNotCorrectCall() argument
492 INTERPRETER_TRACE(thread, ThrowIfSuperNotCorrectCall); in ThrowIfSuperNotCorrectCall()
493 [[maybe_unused]] EcmaHandleScope handleScope(thread); in ThrowIfSuperNotCorrectCall()
495 return RuntimeStubs::RuntimeThrowIfSuperNotCorrectCall(thread, index, thisValue); in ThrowIfSuperNotCorrectCall()
498 void SlowRuntimeStub::ThrowIfNotObject(JSThread *thread) in ThrowIfNotObject() argument
500 INTERPRETER_TRACE(thread, ThrowIfNotObject); in ThrowIfNotObject()
501 [[maybe_unused]] EcmaHandleScope handleScope(thread); in ThrowIfNotObject()
503 THROW_TYPE_ERROR(thread, "Inner return result is not object"); in ThrowIfNotObject()
506 void SlowRuntimeStub::ThrowThrowNotExists(JSThread *thread) in ThrowThrowNotExists() argument
508 INTERPRETER_TRACE(thread, ThrowThrowNotExists); in ThrowThrowNotExists()
509 [[maybe_unused]] EcmaHandleScope handleScope(thread); in ThrowThrowNotExists()
511 return RuntimeStubs::RuntimeThrowIfNotObject(thread); in ThrowThrowNotExists()
514 void SlowRuntimeStub::ThrowPatternNonCoercible(JSThread *thread) in ThrowPatternNonCoercible() argument
516 INTERPRETER_TRACE(thread, ThrowPatternNonCoercible); in ThrowPatternNonCoercible()
517 [[maybe_unused]] EcmaHandleScope handleScope(thread); in ThrowPatternNonCoercible()
519 return RuntimeStubs::RuntimeThrowPatternNonCoercible(thread); in ThrowPatternNonCoercible()
522 JSTaggedValue SlowRuntimeStub::StOwnByName(JSThread *thread, JSTaggedValue obj, JSTaggedValue prop,… in StOwnByName() argument
524 INTERPRETER_TRACE(thread, StOwnByName); in StOwnByName()
525 [[maybe_unused]] EcmaHandleScope handleScope(thread); in StOwnByName()
527 JSHandle<JSTaggedValue> objHandle(thread, obj); in StOwnByName()
528 JSHandle<JSTaggedValue> propHandle(thread, prop); in StOwnByName()
529 JSHandle<JSTaggedValue> valueHandle(thread, value); in StOwnByName()
530 return RuntimeStubs::RuntimeStOwnByName(thread, objHandle, propHandle, valueHandle); in StOwnByName()
533 JSTaggedValue SlowRuntimeStub::StOwnByNameWithNameSet(JSThread *thread, JSTaggedValue obj, JSTagged… in StOwnByNameWithNameSet() argument
536 INTERPRETER_TRACE(thread, StOwnByName); in StOwnByNameWithNameSet()
537 [[maybe_unused]] EcmaHandleScope handleScope(thread); in StOwnByNameWithNameSet()
539 JSHandle<JSTaggedValue> objHandle(thread, obj); in StOwnByNameWithNameSet()
540 JSHandle<JSTaggedValue> propHandle(thread, prop); in StOwnByNameWithNameSet()
541 JSHandle<JSTaggedValue> valueHandle(thread, value); in StOwnByNameWithNameSet()
542 return RuntimeStubs::RuntimeStOwnByNameWithNameSet(thread, objHandle, propHandle, valueHandle); in StOwnByNameWithNameSet()
545 JSTaggedValue SlowRuntimeStub::StOwnByIndex(JSThread *thread, JSTaggedValue obj, uint32_t idx, JSTa… in StOwnByIndex() argument
547 INTERPRETER_TRACE(thread, StOwnById); in StOwnByIndex()
548 [[maybe_unused]] EcmaHandleScope handleScope(thread); in StOwnByIndex()
550 JSHandle<JSTaggedValue> objHandle(thread, obj); in StOwnByIndex()
551 JSHandle<JSTaggedValue> idxHandle(thread, JSTaggedValue(idx)); in StOwnByIndex()
552 JSHandle<JSTaggedValue> valueHandle(thread, value); in StOwnByIndex()
553 return RuntimeStubs::RuntimeStOwnByIndex(thread, objHandle, idxHandle, valueHandle); in StOwnByIndex()
556 JSTaggedValue SlowRuntimeStub::StOwnByValue(JSThread *thread, JSTaggedValue obj, JSTaggedValue key,… in StOwnByValue() argument
558 INTERPRETER_TRACE(thread, StOwnByValue); in StOwnByValue()
559 [[maybe_unused]] EcmaHandleScope handleScope(thread); in StOwnByValue()
561 JSHandle<JSTaggedValue> objHandle(thread, obj); in StOwnByValue()
562 JSHandle<JSTaggedValue> keyHandle(thread, key); in StOwnByValue()
563 JSHandle<JSTaggedValue> valueHandle(thread, value); in StOwnByValue()
564 return RuntimeStubs::RuntimeStOwnByValue(thread, objHandle, keyHandle, valueHandle); in StOwnByValue()
567 JSTaggedValue SlowRuntimeStub::StOwnByValueWithNameSet(JSThread *thread, JSTaggedValue obj, JSTagge… in StOwnByValueWithNameSet() argument
570 INTERPRETER_TRACE(thread, StOwnByValue); in StOwnByValueWithNameSet()
571 [[maybe_unused]] EcmaHandleScope handleScope(thread); in StOwnByValueWithNameSet()
573 JSHandle<JSTaggedValue> objHandle(thread, obj); in StOwnByValueWithNameSet()
574 JSHandle<JSTaggedValue> keyHandle(thread, key); in StOwnByValueWithNameSet()
575 JSHandle<JSTaggedValue> valueHandle(thread, value); in StOwnByValueWithNameSet()
576 return RuntimeStubs::RuntimeStOwnByValueWithNameSet(thread, objHandle, keyHandle, valueHandle); in StOwnByValueWithNameSet()
579 JSTaggedValue SlowRuntimeStub::CreateEmptyArray(JSThread *thread, ObjectFactory *factory, JSHandle<… in CreateEmptyArray() argument
581 INTERPRETER_TRACE(thread, CreateEmptyArray); in CreateEmptyArray()
582 [[maybe_unused]] EcmaHandleScope handleScope(thread); in CreateEmptyArray()
583 return RuntimeStubs::RuntimeCreateEmptyArray(thread, factory, globalEnv); in CreateEmptyArray()
586 JSTaggedValue SlowRuntimeStub::CreateEmptyObject(JSThread *thread, ObjectFactory *factory, in CreateEmptyObject() argument
589 INTERPRETER_TRACE(thread, CreateEmptyObject); in CreateEmptyObject()
590 [[maybe_unused]] EcmaHandleScope handleScope(thread); in CreateEmptyObject()
592 return RuntimeStubs::RuntimeCreateEmptyObject(thread, factory, globalEnv); in CreateEmptyObject()
595 JSTaggedValue SlowRuntimeStub::CreateObjectWithBuffer(JSThread *thread, ObjectFactory *factory, JSO… in CreateObjectWithBuffer() argument
597 INTERPRETER_TRACE(thread, CreateObjectWithBuffer); in CreateObjectWithBuffer()
598 [[maybe_unused]] EcmaHandleScope handleScope(thread); in CreateObjectWithBuffer()
600 JSHandle<JSObject> obj(thread, literal); in CreateObjectWithBuffer()
601 return RuntimeStubs::RuntimeCreateObjectWithBuffer(thread, factory, obj); in CreateObjectWithBuffer()
604 JSTaggedValue SlowRuntimeStub::CreateObjectHavingMethod(JSThread *thread, ObjectFactory *factory, J… in CreateObjectHavingMethod() argument
607 INTERPRETER_TRACE(thread, CreateObjectHavingMethod); in CreateObjectHavingMethod()
608 [[maybe_unused]] EcmaHandleScope handleScope(thread); in CreateObjectHavingMethod()
610 JSHandle<JSObject> obj(thread, literal); in CreateObjectHavingMethod()
611 JSHandle<JSTaggedValue> envi(thread, env); in CreateObjectHavingMethod()
612 return RuntimeStubs::RuntimeCreateObjectHavingMethod(thread, factory, obj, envi); in CreateObjectHavingMethod()
615 JSTaggedValue SlowRuntimeStub::SetObjectWithProto(JSThread *thread, JSTaggedValue proto, JSTaggedVa… in SetObjectWithProto() argument
617 INTERPRETER_TRACE(thread, SetObjectWithProto); in SetObjectWithProto()
618 [[maybe_unused]] EcmaHandleScope handleScope(thread); in SetObjectWithProto()
620 JSHandle<JSTaggedValue> protoHandle(thread, proto); in SetObjectWithProto()
621 JSHandle<JSObject> objHandle(thread, obj); in SetObjectWithProto()
622 return RuntimeStubs::RuntimeSetObjectWithProto(thread, protoHandle, objHandle); in SetObjectWithProto()
625 JSTaggedValue SlowRuntimeStub::IterNext(JSThread *thread, JSTaggedValue iter) in IterNext() argument
627 INTERPRETER_TRACE(thread, IterNext); in IterNext()
628 [[maybe_unused]] EcmaHandleScope handleScope(thread); in IterNext()
630 JSHandle<JSTaggedValue> iterHandle(thread, iter); in IterNext()
631 return RuntimeStubs::RuntimeIterNext(thread, iterHandle); in IterNext()
634 JSTaggedValue SlowRuntimeStub::CloseIterator(JSThread *thread, JSTaggedValue iter) in CloseIterator() argument
636 INTERPRETER_TRACE(thread, CloseIterator); in CloseIterator()
637 [[maybe_unused]] EcmaHandleScope handleScope(thread); in CloseIterator()
639 JSHandle<JSTaggedValue> iterHandle(thread, iter); in CloseIterator()
640 return RuntimeStubs::RuntimeCloseIterator(thread, iterHandle); in CloseIterator()
643 void SlowRuntimeStub::StModuleVar(JSThread *thread, int32_t index, JSTaggedValue value) in StModuleVar() argument
645 INTERPRETER_TRACE(thread, StModuleVar); in StModuleVar()
646 [[maybe_unused]] EcmaHandleScope scope(thread); in StModuleVar()
648 return RuntimeStubs::RuntimeStModuleVar(thread, index, value); in StModuleVar()
651 void SlowRuntimeStub::StModuleVar(JSThread *thread, JSTaggedValue key, JSTaggedValue value) in StModuleVar() argument
653 INTERPRETER_TRACE(thread, StModuleVar); in StModuleVar()
654 [[maybe_unused]] EcmaHandleScope scope(thread); in StModuleVar()
656 return RuntimeStubs::RuntimeStModuleVar(thread, key, value); in StModuleVar()
659 JSTaggedValue SlowRuntimeStub::LdLocalModuleVar(JSThread *thread, int32_t index) in LdLocalModuleVar() argument
661 RUNTIME_TRACE(thread, LdLocalModuleVarByIndex); in LdLocalModuleVar()
662 [[maybe_unused]] EcmaHandleScope scope(thread); in LdLocalModuleVar()
664 return RuntimeStubs::RuntimeLdLocalModuleVar(thread, index); in LdLocalModuleVar()
667 JSTaggedValue SlowRuntimeStub::LdExternalModuleVar(JSThread *thread, int32_t index) in LdExternalModuleVar() argument
669 RUNTIME_TRACE(thread, LdExternalModuleVarByIndex); in LdExternalModuleVar()
670 [[maybe_unused]] EcmaHandleScope scope(thread); in LdExternalModuleVar()
672 return RuntimeStubs::RuntimeLdExternalModuleVar(thread, index); in LdExternalModuleVar()
675 JSTaggedValue SlowRuntimeStub::LdModuleVar(JSThread *thread, JSTaggedValue key, bool inner) in LdModuleVar() argument
677 INTERPRETER_TRACE(thread, LdModuleVar); in LdModuleVar()
678 [[maybe_unused]] EcmaHandleScope scope(thread); in LdModuleVar()
680 return RuntimeStubs::RuntimeLdModuleVar(thread, key, inner); in LdModuleVar()
683 JSTaggedValue SlowRuntimeStub::CreateRegExpWithLiteral(JSThread *thread, JSTaggedValue pattern, uin… in CreateRegExpWithLiteral() argument
685 INTERPRETER_TRACE(thread, CreateRegExpWithLiteral); in CreateRegExpWithLiteral()
686 [[maybe_unused]] EcmaHandleScope handleScope(thread); in CreateRegExpWithLiteral()
688 JSHandle<JSTaggedValue> patternHandle(thread, pattern); in CreateRegExpWithLiteral()
689 return RuntimeStubs::RuntimeCreateRegExpWithLiteral(thread, patternHandle, flags); in CreateRegExpWithLiteral()
692 JSTaggedValue SlowRuntimeStub::CreateArrayWithBuffer(JSThread *thread, ObjectFactory *factory, JSAr… in CreateArrayWithBuffer() argument
694 INTERPRETER_TRACE(thread, CreateArrayWithBuffer); in CreateArrayWithBuffer()
695 [[maybe_unused]] EcmaHandleScope handleScope(thread); in CreateArrayWithBuffer()
697 JSHandle<JSTaggedValue> array(thread, literal); in CreateArrayWithBuffer()
698 return RuntimeStubs::RuntimeCreateArrayWithBuffer(thread, factory, array); in CreateArrayWithBuffer()
701 JSTaggedValue SlowRuntimeStub::GetTemplateObject(JSThread *thread, JSTaggedValue literal) in GetTemplateObject() argument
703 INTERPRETER_TRACE(thread, GetTemplateObject); in GetTemplateObject()
704 [[maybe_unused]] EcmaHandleScope handleScope(thread); in GetTemplateObject()
706 JSHandle<JSTaggedValue> templateLiteral(thread, literal); in GetTemplateObject()
707 return RuntimeStubs::RuntimeGetTemplateObject(thread, templateLiteral); in GetTemplateObject()
710 JSTaggedValue SlowRuntimeStub::GetNextPropName(JSThread *thread, JSTaggedValue iter) in GetNextPropName() argument
712 INTERPRETER_TRACE(thread, GetNextPropName); in GetNextPropName()
713 [[maybe_unused]] EcmaHandleScope handleScope(thread); in GetNextPropName()
715 JSHandle<JSTaggedValue> iterator(thread, iter); in GetNextPropName()
716 return RuntimeStubs::RuntimeGetNextPropName(thread, iterator); in GetNextPropName()
719 JSTaggedValue SlowRuntimeStub::CopyDataProperties(JSThread *thread, JSTaggedValue dst, JSTaggedValu… in CopyDataProperties() argument
721 INTERPRETER_TRACE(thread, CopyDataProperties); in CopyDataProperties()
722 [[maybe_unused]] EcmaHandleScope handleScope(thread); in CopyDataProperties()
724 JSHandle<JSTaggedValue> dstHandle(thread, dst); in CopyDataProperties()
725 JSHandle<JSTaggedValue> srcHandle(thread, src); in CopyDataProperties()
726 return RuntimeStubs::RuntimeCopyDataProperties(thread, dstHandle, srcHandle); in CopyDataProperties()
729 JSTaggedValue SlowRuntimeStub::GetIteratorNext(JSThread *thread, JSTaggedValue obj, JSTaggedValue m… in GetIteratorNext() argument
731 RUNTIME_TRACE(thread, GetIteratorNext); in GetIteratorNext()
732 [[maybe_unused]] EcmaHandleScope handleScope(thread); in GetIteratorNext()
734 JSHandle<JSTaggedValue> iter(thread, obj); in GetIteratorNext()
735 JSHandle<JSTaggedValue> next(thread, method); in GetIteratorNext()
736 return RuntimeStubs::RuntimeGetIteratorNext(thread, iter, next); in GetIteratorNext()
739 JSTaggedValue SlowRuntimeStub::GetUnmapedArgs(JSThread *thread, JSTaggedType *sp, uint32_t actualNu… in GetUnmapedArgs() argument
742 INTERPRETER_TRACE(thread, GetUnmapedArgs); in GetUnmapedArgs()
743 [[maybe_unused]] EcmaHandleScope handleScope(thread); in GetUnmapedArgs()
744 return RuntimeStubs::RuntimeGetUnmapedArgs(thread, sp, actualNumArgs, startIdx); in GetUnmapedArgs()
747 JSTaggedValue SlowRuntimeStub::CopyRestArgs(JSThread *thread, JSTaggedType *sp, uint32_t restNumArg… in CopyRestArgs() argument
749 INTERPRETER_TRACE(thread, Copyrestargs); in CopyRestArgs()
750 [[maybe_unused]] EcmaHandleScope handleScope(thread); in CopyRestArgs()
751 return RuntimeStubs::RuntimeCopyRestArgs(thread, sp, restNumArgs, startIdx); in CopyRestArgs()
754 JSTaggedValue SlowRuntimeStub::GetIterator(JSThread *thread, JSTaggedValue obj) in GetIterator() argument
756 INTERPRETER_TRACE(thread, GetIterator); in GetIterator()
757 [[maybe_unused]] EcmaHandleScope handleScope(thread); in GetIterator()
759 JSHandle<JSTaggedValue> objHandle(thread, obj); in GetIterator()
760 return RuntimeStubs::RuntimeGetIterator(thread, objHandle); in GetIterator()
763 JSTaggedValue SlowRuntimeStub::GetAsyncIterator(JSThread *thread, JSTaggedValue obj) in GetAsyncIterator() argument
765 INTERPRETER_TRACE(thread, GetAsyncIterator); in GetAsyncIterator()
766 [[maybe_unused]] EcmaHandleScope handleScope(thread); in GetAsyncIterator()
768 JSHandle<JSTaggedValue> objHandle(thread, obj); in GetAsyncIterator()
769 return RuntimeStubs::RuntimeGetAsyncIterator(thread, objHandle); in GetAsyncIterator()
772 JSTaggedValue SlowRuntimeStub::DefineGetterSetterByValue(JSThread *thread, JSTaggedValue obj, JSTag… in DefineGetterSetterByValue() argument
775 INTERPRETER_TRACE(thread, DefineGetterSetterByValue); in DefineGetterSetterByValue()
776 [[maybe_unused]] EcmaHandleScope handleScope(thread); in DefineGetterSetterByValue()
778 JSHandle<JSObject> objHandle(thread, obj); in DefineGetterSetterByValue()
779 JSHandle<JSTaggedValue> propHandle(thread, prop); in DefineGetterSetterByValue()
780 JSHandle<JSTaggedValue> getterHandle(thread, getter); in DefineGetterSetterByValue()
781 JSHandle<JSTaggedValue> setterHandle(thread, setter); in DefineGetterSetterByValue()
782 JSHandle<JSTaggedValue> func(thread, JSTaggedValue::Undefined()); in DefineGetterSetterByValue()
783 return RuntimeStubs::RuntimeDefineGetterSetterByValue(thread, objHandle, propHandle, in DefineGetterSetterByValue()
788 JSTaggedValue SlowRuntimeStub::LdObjByIndex(JSThread *thread, JSTaggedValue obj, uint32_t idx, bool… in LdObjByIndex() argument
791 INTERPRETER_TRACE(thread, LdObjByIndex); in LdObjByIndex()
792 [[maybe_unused]] EcmaHandleScope handleScope(thread); in LdObjByIndex()
794 JSHandle<JSTaggedValue> objHandle(thread, obj); in LdObjByIndex()
795 return RuntimeStubs::RuntimeLdObjByIndex(thread, objHandle, idx, callGetter, receiver); in LdObjByIndex()
798 JSTaggedValue SlowRuntimeStub::StObjByIndex(JSThread *thread, JSTaggedValue obj, uint32_t idx, JSTa… in StObjByIndex() argument
800 INTERPRETER_TRACE(thread, StObjByIndex); in StObjByIndex()
801 [[maybe_unused]] EcmaHandleScope handleScope(thread); in StObjByIndex()
803 JSHandle<JSTaggedValue> objHandle(thread, obj); in StObjByIndex()
804 JSHandle<JSTaggedValue> valueHandle(thread, value); in StObjByIndex()
805 return RuntimeStubs::RuntimeStObjByIndex(thread, objHandle, idx, valueHandle); in StObjByIndex()
808 JSTaggedValue SlowRuntimeStub::LdObjByName(JSThread *thread, JSTaggedValue obj, JSTaggedValue prop,… in LdObjByName() argument
811 INTERPRETER_TRACE(thread, LdObjByName); in LdObjByName()
812 [[maybe_unused]] EcmaHandleScope handleScope(thread); in LdObjByName()
813 return RuntimeStubs::RuntimeLdObjByName(thread, obj, prop, callGetter, receiver); in LdObjByName()
816 JSTaggedValue SlowRuntimeStub::StObjByName(JSThread *thread, JSTaggedValue obj, JSTaggedValue prop,… in StObjByName() argument
818 INTERPRETER_TRACE(thread, StObjByName); in StObjByName()
819 [[maybe_unused]] EcmaHandleScope handleScope(thread); in StObjByName()
821 JSHandle<JSTaggedValue> objHandle(thread, obj); in StObjByName()
822 JSHandle<JSTaggedValue> propHandle(thread, prop); in StObjByName()
823 JSHandle<JSTaggedValue> valueHandle(thread, value); in StObjByName()
824 return RuntimeStubs::RuntimeStObjByName(thread, objHandle, propHandle, valueHandle); in StObjByName()
827 JSTaggedValue SlowRuntimeStub::LdObjByValue(JSThread *thread, JSTaggedValue obj, JSTaggedValue prop… in LdObjByValue() argument
830 INTERPRETER_TRACE(thread, LdObjByValue); in LdObjByValue()
831 [[maybe_unused]] EcmaHandleScope handleScope(thread); in LdObjByValue()
833 JSHandle<JSTaggedValue> objHandle(thread, obj); in LdObjByValue()
834 JSHandle<JSTaggedValue> propHandle(thread, prop); in LdObjByValue()
835 return RuntimeStubs::RuntimeLdObjByValue(thread, objHandle, propHandle, callGetter, receiver); in LdObjByValue()
838 JSTaggedValue SlowRuntimeStub::StObjByValue(JSThread *thread, JSTaggedValue obj, JSTaggedValue prop, in StObjByValue() argument
841 INTERPRETER_TRACE(thread, StObjByValue); in StObjByValue()
842 [[maybe_unused]] EcmaHandleScope handleScope(thread); in StObjByValue()
844 JSHandle<JSTaggedValue> objHandle(thread, obj); in StObjByValue()
845 JSHandle<JSTaggedValue> propHandle(thread, prop); in StObjByValue()
846 JSHandle<JSTaggedValue> valueHandle(thread, value); in StObjByValue()
847 return RuntimeStubs::RuntimeStObjByValue(thread, objHandle, propHandle, valueHandle); in StObjByValue()
850 JSTaggedValue SlowRuntimeStub::TryLdGlobalByNameFromGlobalProto(JSThread *thread, JSTaggedValue glo… in TryLdGlobalByNameFromGlobalProto() argument
853 INTERPRETER_TRACE(thread, Trygetobjprop); in TryLdGlobalByNameFromGlobalProto()
854 [[maybe_unused]] EcmaHandleScope handleScope(thread); in TryLdGlobalByNameFromGlobalProto()
856 JSHandle<JSTaggedValue> obj(thread, global.GetTaggedObject()->GetClass()->GetPrototype()); in TryLdGlobalByNameFromGlobalProto()
857 JSHandle<JSTaggedValue> propHandle(thread, prop); in TryLdGlobalByNameFromGlobalProto()
858 return RuntimeStubs::RuntimeTryLdGlobalByName(thread, obj, propHandle); in TryLdGlobalByNameFromGlobalProto()
861 JSTaggedValue SlowRuntimeStub::TryStGlobalByName(JSThread *thread, JSTaggedValue prop) in TryStGlobalByName() argument
863 INTERPRETER_TRACE(thread, TryStGlobalByName); in TryStGlobalByName()
865 return ThrowReferenceError(thread, prop, " is not defined"); in TryStGlobalByName()
868 JSTaggedValue SlowRuntimeStub::LdGlobalVarFromGlobalProto(JSThread *thread, JSTaggedValue global, J… in LdGlobalVarFromGlobalProto() argument
870 INTERPRETER_TRACE(thread, LdGlobalVar); in LdGlobalVarFromGlobalProto()
871 [[maybe_unused]] EcmaHandleScope handleScope(thread); in LdGlobalVarFromGlobalProto()
873 JSHandle<JSTaggedValue> objHandle(thread, global); in LdGlobalVarFromGlobalProto()
874 JSHandle<JSTaggedValue> propHandle(thread, prop); in LdGlobalVarFromGlobalProto()
875 …return RuntimeStubs::RuntimeLdGlobalVarFromProto(thread, objHandle, propHandle); // After checked … in LdGlobalVarFromGlobalProto()
878 JSTaggedValue SlowRuntimeStub::StGlobalVar(JSThread *thread, JSTaggedValue prop, JSTaggedValue valu… in StGlobalVar() argument
880 INTERPRETER_TRACE(thread, StGlobalVar); in StGlobalVar()
881 [[maybe_unused]] EcmaHandleScope handleScope(thread); in StGlobalVar()
883 JSHandle<JSTaggedValue> propHandle(thread, prop); in StGlobalVar()
884 JSHandle<JSTaggedValue> valueHandle(thread, value); in StGlobalVar()
885 return RuntimeStubs::RuntimeStGlobalVar(thread, propHandle, valueHandle); in StGlobalVar()
888 JSTaggedValue SlowRuntimeStub::TryUpdateGlobalRecord(JSThread *thread, JSTaggedValue prop, JSTagged… in TryUpdateGlobalRecord() argument
890 INTERPRETER_TRACE(thread, TryUpdateGlobalRecord); in TryUpdateGlobalRecord()
891 [[maybe_unused]] EcmaHandleScope handleScope(thread); in TryUpdateGlobalRecord()
893 return RuntimeStubs::RuntimeTryUpdateGlobalRecord(thread, prop, value); in TryUpdateGlobalRecord()
897 JSTaggedValue SlowRuntimeStub::LdGlobalRecord(JSThread *thread, JSTaggedValue key) in LdGlobalRecord() argument
899 INTERPRETER_TRACE(thread, LdGlobalRecord); in LdGlobalRecord()
900 [[maybe_unused]] EcmaHandleScope handleScope(thread); in LdGlobalRecord()
902 return RuntimeStubs::RuntimeLdGlobalRecord(thread, key); in LdGlobalRecord()
905 JSTaggedValue SlowRuntimeStub::StGlobalRecord(JSThread *thread, JSTaggedValue prop, JSTaggedValue v… in StGlobalRecord() argument
907 INTERPRETER_TRACE(thread, StGlobalRecord); in StGlobalRecord()
908 [[maybe_unused]] EcmaHandleScope handleScope(thread); in StGlobalRecord()
910 JSHandle<JSTaggedValue> propHandle(thread, prop); in StGlobalRecord()
911 JSHandle<JSTaggedValue> valueHandle(thread, value); in StGlobalRecord()
912 return RuntimeStubs::RuntimeStGlobalRecord(thread, propHandle, valueHandle, isConst); in StGlobalRecord()
915 JSTaggedValue SlowRuntimeStub::ThrowReferenceError(JSThread *thread, JSTaggedValue prop, const char… in ThrowReferenceError() argument
917 INTERPRETER_TRACE(thread, ThrowReferenceError); in ThrowReferenceError()
918 [[maybe_unused]] EcmaHandleScope handleScope(thread); in ThrowReferenceError()
920 JSHandle<JSTaggedValue> propHandle(thread, prop); in ThrowReferenceError()
921 return RuntimeStubs::RuntimeThrowReferenceError(thread, propHandle, desc); in ThrowReferenceError()
924 JSTaggedValue SlowRuntimeStub::ThrowTypeError(JSThread *thread, const char *message) in ThrowTypeError() argument
926 INTERPRETER_TRACE(thread, ThrowTypeError); in ThrowTypeError()
927 [[maybe_unused]] EcmaHandleScope handleScope(thread); in ThrowTypeError()
929 return RuntimeStubs::RuntimeThrowTypeError(thread, message); in ThrowTypeError()
932 JSTaggedValue SlowRuntimeStub::ThrowSyntaxError(JSThread *thread, const char *message) in ThrowSyntaxError() argument
934 INTERPRETER_TRACE(thread, ThrowSyntaxError); in ThrowSyntaxError()
935 [[maybe_unused]] EcmaHandleScope handleScope(thread); in ThrowSyntaxError()
937 return RuntimeStubs::RuntimeThrowSyntaxError(thread, message); in ThrowSyntaxError()
940 JSTaggedValue SlowRuntimeStub::StArraySpread(JSThread *thread, JSTaggedValue dst, JSTaggedValue ind… in StArraySpread() argument
943 INTERPRETER_TRACE(thread, StArraySpread); in StArraySpread()
944 [[maybe_unused]] EcmaHandleScope handleScope(thread); in StArraySpread()
946 JSHandle<JSTaggedValue> dstHandle(thread, dst); in StArraySpread()
947 JSHandle<JSTaggedValue> srcHandle(thread, src); in StArraySpread()
948 return RuntimeStubs::RuntimeStArraySpread(thread, dstHandle, index, srcHandle); in StArraySpread()
951 JSTaggedValue SlowRuntimeStub::DefineFunc(JSThread *thread, JSTaggedValue constPool, uint16_t metho… in DefineFunc() argument
955 INTERPRETER_TRACE(thread, DefineFunc); in DefineFunc()
956 [[maybe_unused]] EcmaHandleScope handleScope(thread); in DefineFunc()
957 JSHandle<JSTaggedValue> constpoolHandle(thread, constPool); in DefineFunc()
958 JSHandle<JSTaggedValue> moduleHandle(thread, module); in DefineFunc()
959 JSHandle<JSTaggedValue> envHandle(thread, env); in DefineFunc()
960 JSHandle<JSTaggedValue> homeObjectHandle(thread, homeObject); in DefineFunc()
961 return RuntimeStubs::RuntimeDefinefunc(thread, constpoolHandle, methodId, moduleHandle, in DefineFunc()
965 JSTaggedValue SlowRuntimeStub::GetSuperConstructor(JSThread *thread, JSTaggedValue ctor) in GetSuperConstructor() argument
967 INTERPRETER_TRACE(thread, GetSuperConstructor); in GetSuperConstructor()
968 JSHandle<JSTaggedValue> ctorHandle(thread, ctor); in GetSuperConstructor()
969 … JSHandle<JSTaggedValue> superConstructor(thread, JSTaggedValue::GetPrototype(thread, ctorHandle)); in GetSuperConstructor()
970 RETURN_EXCEPTION_IF_ABRUPT_COMPLETION(thread); in GetSuperConstructor()
974 JSTaggedValue SlowRuntimeStub::SuperCall(JSThread *thread, JSTaggedValue func, JSTaggedValue newTar… in SuperCall() argument
977 INTERPRETER_TRACE(thread, SuperCall); in SuperCall()
978 [[maybe_unused]] EcmaHandleScope handleScope(thread); in SuperCall()
980 JSHandle<JSTaggedValue> funcHandle(thread, func); in SuperCall()
981 JSHandle<JSTaggedValue> newTargetHandle(thread, newTarget); in SuperCall()
982 … return RuntimeStubs::RuntimeSuperCall(thread, funcHandle, newTargetHandle, firstVRegIdx, length); in SuperCall()
985 JSTaggedValue SlowRuntimeStub::DynamicImport(JSThread *thread, JSTaggedValue specifier, JSTaggedVal… in DynamicImport() argument
987 INTERPRETER_TRACE(thread, DynamicImport); in DynamicImport()
988 [[maybe_unused]] EcmaHandleScope handleScope(thread); in DynamicImport()
990 JSHandle<JSTaggedValue> specifierHandle(thread, specifier); in DynamicImport()
991 JSHandle<JSTaggedValue> currentFuncHandle(thread, currentFunc); in DynamicImport()
992 return RuntimeStubs::RuntimeDynamicImport(thread, specifierHandle, currentFuncHandle); in DynamicImport()
995 JSTaggedValue SlowRuntimeStub::SuperCallSpread(JSThread *thread, JSTaggedValue func, JSTaggedValue … in SuperCallSpread() argument
998 INTERPRETER_TRACE(thread, SuperCallSpread); in SuperCallSpread()
999 [[maybe_unused]] EcmaHandleScope handleScope(thread); in SuperCallSpread()
1001 JSHandle<JSTaggedValue> funcHandle(thread, func); in SuperCallSpread()
1002 JSHandle<JSTaggedValue> newTargetHandle(thread, newTarget); in SuperCallSpread()
1003 JSHandle<JSTaggedValue> jsArray(thread, array); in SuperCallSpread()
1004 return RuntimeStubs::RuntimeSuperCallSpread(thread, funcHandle, newTargetHandle, jsArray); in SuperCallSpread()
1007 JSTaggedValue SlowRuntimeStub::SuperCallForwardAllArgs(JSThread *thread, JSTaggedType *sp, JSTagged… in SuperCallForwardAllArgs() argument
1010 JSHandle<JSTaggedValue> superFunc(thread, GetSuperConstructor(thread, func)); in SuperCallForwardAllArgs()
1011 JSHandle<JSTaggedValue> newTargetHandle(thread, newTarget); in SuperCallForwardAllArgs()
1012 …return RuntimeStubs::RuntimeSuperCallForwardAllArgs(thread, sp, superFunc, newTargetHandle, restNu… in SuperCallForwardAllArgs()
1015 JSTaggedValue SlowRuntimeStub::DefineMethod(JSThread *thread, Method *method, JSTaggedValue homeObj… in DefineMethod() argument
1018 INTERPRETER_TRACE(thread, DefineMethod); in DefineMethod()
1019 [[maybe_unused]] EcmaHandleScope handleScope(thread); in DefineMethod()
1020 JSHandle<Method> methodHandle(thread, method); in DefineMethod()
1021 JSHandle<JSTaggedValue> homeObjectHandle(thread, homeObject); in DefineMethod()
1022 JSHandle<JSTaggedValue> envHandle(thread, env); in DefineMethod()
1023 JSHandle<JSTaggedValue> moduleHandle(thread, module); in DefineMethod()
1024 …return RuntimeStubs::RuntimeDefineMethod(thread, methodHandle, homeObjectHandle, length, envHandle… in DefineMethod()
1027 JSTaggedValue SlowRuntimeStub::LdSendableClass(JSThread *thread, JSTaggedValue env, uint16_t level) in LdSendableClass() argument
1029 INTERPRETER_TRACE(thread, LdSendableClass); in LdSendableClass()
1030 [[maybe_unused]] EcmaHandleScope handleScope(thread); in LdSendableClass()
1031 JSHandle<JSTaggedValue> envHandle(thread, env); in LdSendableClass()
1035 JSTaggedValue SlowRuntimeStub::LdSendableExternalModuleVar(JSThread *thread, int32_t index, JSTagge… in LdSendableExternalModuleVar() argument
1037 RUNTIME_TRACE(thread, LdSendableExternalModuleVarByIndex); in LdSendableExternalModuleVar()
1038 [[maybe_unused]] EcmaHandleScope scope(thread); in LdSendableExternalModuleVar()
1040 return RuntimeStubs::RuntimeLdSendableExternalModuleVar(thread, index, thisFunc); in LdSendableExternalModuleVar()
1043 JSTaggedValue SlowRuntimeStub::LdSendableLocalModuleVar(JSThread* thread, int32_t index, JSTaggedVa… in LdSendableLocalModuleVar() argument
1045 RUNTIME_TRACE(thread, LdSendableLocalModuleVarByIndex); in LdSendableLocalModuleVar()
1046 [[maybe_unused]] EcmaHandleScope scope(thread); in LdSendableLocalModuleVar()
1048 return RuntimeStubs::RuntimeLdSendableLocalModuleVar(thread, index, thisFunc); in LdSendableLocalModuleVar()
1051 JSTaggedValue SlowRuntimeStub::LdLazyExternalModuleVar(JSThread *thread, int32_t index, JSTaggedVal… in LdLazyExternalModuleVar() argument
1053 RUNTIME_TRACE(thread, LdLazyExternalModuleVarByIndex); in LdLazyExternalModuleVar()
1054 [[maybe_unused]] EcmaHandleScope scope(thread); in LdLazyExternalModuleVar()
1055 return RuntimeStubs::RuntimeLdLazyExternalModuleVar(thread, index, thisFunc); in LdLazyExternalModuleVar()
1058 JSTaggedValue SlowRuntimeStub::LdLazySendableExternalModuleVar(JSThread *thread, int32_t index, JST… in LdLazySendableExternalModuleVar() argument
1060 RUNTIME_TRACE(thread, LdLazySendableExternalModuleVarByIndex); in LdLazySendableExternalModuleVar()
1061 [[maybe_unused]] EcmaHandleScope scope(thread); in LdLazySendableExternalModuleVar()
1063 return RuntimeStubs::RuntimeLdLazySendableExternalModuleVar(thread, index, thisFunc); in LdLazySendableExternalModuleVar()
1066 JSTaggedValue SlowRuntimeStub::LdSuperByValue(JSThread *thread, JSTaggedValue obj, JSTaggedValue ke… in LdSuperByValue() argument
1069 INTERPRETER_TRACE(thread, LdSuperByValue); in LdSuperByValue()
1070 [[maybe_unused]] EcmaHandleScope handleScope(thread); in LdSuperByValue()
1072 JSHandle<JSTaggedValue> objHandle(thread, obj); in LdSuperByValue()
1073 JSHandle<JSTaggedValue> propHandle(thread, key); in LdSuperByValue()
1074 return RuntimeStubs::RuntimeLdSuperByValue(thread, objHandle, propHandle, thisFunc); in LdSuperByValue()
1077 JSTaggedValue SlowRuntimeStub::StSuperByValue(JSThread *thread, JSTaggedValue obj, JSTaggedValue ke… in StSuperByValue() argument
1080 INTERPRETER_TRACE(thread, StSuperByValue); in StSuperByValue()
1081 [[maybe_unused]] EcmaHandleScope handleScope(thread); in StSuperByValue()
1083 JSHandle<JSTaggedValue> objHandle(thread, obj); in StSuperByValue()
1084 JSHandle<JSTaggedValue> propHandle(thread, key); in StSuperByValue()
1085 JSHandle<JSTaggedValue> valueHandle(thread, value); in StSuperByValue()
1086 … return RuntimeStubs::RuntimeStSuperByValue(thread, objHandle, propHandle, valueHandle, thisFunc); in StSuperByValue()
1089 JSTaggedValue SlowRuntimeStub::GetCallSpreadArgs(JSThread *thread, JSTaggedValue array) in GetCallSpreadArgs() argument
1091 INTERPRETER_TRACE(thread, GetCallSpreadArgs); in GetCallSpreadArgs()
1092 [[maybe_unused]] EcmaHandleScope handleScope(thread); in GetCallSpreadArgs()
1094 JSHandle<JSTaggedValue> jsArray(thread, array); in GetCallSpreadArgs()
1095 return RuntimeStubs::RuntimeGetCallSpreadArgs(thread, jsArray); in GetCallSpreadArgs()
1098 void SlowRuntimeStub::ThrowDeleteSuperProperty(JSThread *thread) in ThrowDeleteSuperProperty() argument
1100 INTERPRETER_TRACE(thread, ThrowDeleteSuperProperty); in ThrowDeleteSuperProperty()
1101 [[maybe_unused]] EcmaHandleScope handleScope(thread); in ThrowDeleteSuperProperty()
1103 return RuntimeStubs::RuntimeThrowDeleteSuperProperty(thread); in ThrowDeleteSuperProperty()
1106 JSTaggedValue SlowRuntimeStub::NotifyInlineCache(JSThread *thread, JSFunction *function) in NotifyInlineCache() argument
1108 INTERPRETER_TRACE(thread, NotifyInlineCache); in NotifyInlineCache()
1109 [[maybe_unused]] EcmaHandleScope handleScope(thread); in NotifyInlineCache()
1111 JSHandle<JSFunction> functionHandle(thread, function); in NotifyInlineCache()
1113 return RuntimeStubs::RuntimeNotifyInlineCache(thread, functionHandle, slotSize); in NotifyInlineCache()
1116 JSTaggedValue SlowRuntimeStub::ResolveClass(JSThread *thread, JSTaggedValue ctor, TaggedArray *lite… in ResolveClass() argument
1119 JSHandle<JSFunction> cls(thread, ctor); in ResolveClass()
1120 JSHandle<TaggedArray> literalBuffer(thread, literal); in ResolveClass()
1121 JSHandle<JSTaggedValue> baseHandle(thread, base); in ResolveClass()
1122 JSHandle<JSTaggedValue> lexicalEnv(thread, lexenv); in ResolveClass()
1123 return RuntimeStubs::RuntimeResolveClass(thread, cls, literalBuffer, baseHandle, lexicalEnv); in ResolveClass()
1127 JSTaggedValue SlowRuntimeStub::CloneClassFromTemplate(JSThread *thread, JSTaggedValue ctor, JSTagge… in CloneClassFromTemplate() argument
1130 [[maybe_unused]] EcmaHandleScope handleScope(thread); in CloneClassFromTemplate()
1132 JSHandle<JSTaggedValue> lexenvHandle(thread, lexenv); in CloneClassFromTemplate()
1133 JSHandle<JSTaggedValue> baseHandle(thread, base); in CloneClassFromTemplate()
1134 JSHandle<JSFunction> cls(thread, ctor); in CloneClassFromTemplate()
1135 return RuntimeStubs::RuntimeCloneClassFromTemplate(thread, cls, baseHandle, lexenvHandle); in CloneClassFromTemplate()
1139 JSTaggedValue SlowRuntimeStub::CreateClassWithBuffer(JSThread *thread, JSTaggedValue base, in CreateClassWithBuffer() argument
1144 [[maybe_unused]] EcmaHandleScope handleScope(thread); in CreateClassWithBuffer()
1145 JSHandle<JSTaggedValue> baseHandle(thread, base); in CreateClassWithBuffer()
1146 JSHandle<JSTaggedValue> lexenvHandle(thread, lexenv); in CreateClassWithBuffer()
1147 JSHandle<JSTaggedValue> constpoolHandle(thread, constpool); in CreateClassWithBuffer()
1148 JSHandle<JSTaggedValue> moduleHandle(thread, module); in CreateClassWithBuffer()
1149 JSHandle<JSTaggedValue> lengthHandle(thread, length); in CreateClassWithBuffer()
1150 return RuntimeStubs::RuntimeCreateClassWithBuffer(thread, baseHandle, lexenvHandle, in CreateClassWithBuffer()
1155 JSTaggedValue SlowRuntimeStub::CreateSharedClass(JSThread *thread, JSTaggedValue base, in CreateSharedClass() argument
1159 [[maybe_unused]] EcmaHandleScope handleScope(thread); in CreateSharedClass()
1160 JSHandle<JSTaggedValue> baseHandle(thread, base); in CreateSharedClass()
1161 JSHandle<JSTaggedValue> constpoolHandle(thread, constpool); in CreateSharedClass()
1162 JSHandle<JSTaggedValue> moduleHandle(thread, module); in CreateSharedClass()
1163 return RuntimeStubs::RuntimeCreateSharedClass(thread, baseHandle, constpoolHandle, methodId, in CreateSharedClass()
1167 JSTaggedValue SlowRuntimeStub::SetClassInheritanceRelationship(JSThread *thread, JSTaggedValue ctor… in SetClassInheritanceRelationship() argument
1169 [[maybe_unused]] EcmaHandleScope handleScope(thread); in SetClassInheritanceRelationship()
1171 JSHandle<JSTaggedValue> cls(thread, ctor); in SetClassInheritanceRelationship()
1172 JSHandle<JSTaggedValue> parent(thread, base); in SetClassInheritanceRelationship()
1173 return RuntimeStubs::RuntimeSetClassInheritanceRelationship(thread, cls, parent); in SetClassInheritanceRelationship()
1176 JSTaggedValue SlowRuntimeStub::SetClassConstructorLength(JSThread *thread, JSTaggedValue ctor, JSTa… in SetClassConstructorLength() argument
1178 return RuntimeStubs::RuntimeSetClassConstructorLength(thread, ctor, length); in SetClassConstructorLength()
1181 JSTaggedValue SlowRuntimeStub::GetModuleNamespace(JSThread *thread, int32_t index) in GetModuleNamespace() argument
1183 return RuntimeStubs::RuntimeGetModuleNamespace(thread, index); in GetModuleNamespace()
1186 JSTaggedValue SlowRuntimeStub::GetModuleNamespace(JSThread *thread, JSTaggedValue localName) in GetModuleNamespace() argument
1188 return RuntimeStubs::RuntimeGetModuleNamespace(thread, localName); in GetModuleNamespace()
1191 JSTaggedValue SlowRuntimeStub::LdBigInt(JSThread *thread, JSTaggedValue numberBigInt) in LdBigInt() argument
1193 INTERPRETER_TRACE(thread, LdBigInt); in LdBigInt()
1194 [[maybe_unused]] EcmaHandleScope handleScope(thread); in LdBigInt()
1195 JSHandle<JSTaggedValue> bigint(thread, numberBigInt); in LdBigInt()
1196 return RuntimeStubs::RuntimeLdBigInt(thread, bigint); in LdBigInt()
1198 JSTaggedValue SlowRuntimeStub::AsyncGeneratorResolve(JSThread *thread, JSTaggedValue asyncFuncObj, in AsyncGeneratorResolve() argument
1201 INTERPRETER_TRACE(thread, AsyncGeneratorResolve); in AsyncGeneratorResolve()
1202 [[maybe_unused]] EcmaHandleScope handleScope(thread); in AsyncGeneratorResolve()
1204 JSHandle<JSTaggedValue> genObjHandle(thread, asyncFuncObj); in AsyncGeneratorResolve()
1205 JSHandle<JSTaggedValue> valueHandle(thread, value); in AsyncGeneratorResolve()
1207 return RuntimeStubs::RuntimeAsyncGeneratorResolve(thread, genObjHandle, valueHandle, flag); in AsyncGeneratorResolve()
1210 JSTaggedValue SlowRuntimeStub::AsyncGeneratorReject(JSThread *thread, JSTaggedValue asyncFuncObj, in AsyncGeneratorReject() argument
1213 INTERPRETER_TRACE(thread, AsyncGeneratorReject); in AsyncGeneratorReject()
1214 [[maybe_unused]] EcmaHandleScope handleScope(thread); in AsyncGeneratorReject()
1216 JSHandle<JSAsyncGeneratorObject> asyncFuncObjHandle(thread, asyncFuncObj); in AsyncGeneratorReject()
1217 JSHandle<JSTaggedValue> valueHandle(thread, value); in AsyncGeneratorReject()
1219 return JSAsyncGeneratorObject::AsyncGeneratorReject(thread, asyncFuncObjHandle, valueHandle); in AsyncGeneratorReject()
1222 JSTaggedValue SlowRuntimeStub::LdPatchVar(JSThread *thread, uint32_t index) in LdPatchVar() argument
1224 INTERPRETER_TRACE(thread, LdPatchVar); in LdPatchVar()
1225 [[maybe_unused]] EcmaHandleScope handleScope(thread); in LdPatchVar()
1227 return RuntimeStubs::RuntimeLdPatchVar(thread, index); in LdPatchVar()
1230 JSTaggedValue SlowRuntimeStub::StPatchVar(JSThread *thread, uint32_t index, JSTaggedValue value) in StPatchVar() argument
1232 INTERPRETER_TRACE(thread, StPatchVar); in StPatchVar()
1233 [[maybe_unused]] EcmaHandleScope handleScope(thread); in StPatchVar()
1235 JSHandle<JSTaggedValue> valueHandle(thread, value); in StPatchVar()
1236 return RuntimeStubs::RuntimeStPatchVar(thread, index, valueHandle); in StPatchVar()
1239 JSTaggedValue SlowRuntimeStub::NotifyConcurrentResult(JSThread *thread, JSTaggedValue result, JSTag… in NotifyConcurrentResult() argument
1241 INTERPRETER_TRACE(thread, NotifyConcurrentResult); in NotifyConcurrentResult()
1242 return RuntimeStubs::RuntimeNotifyConcurrentResult(thread, result, hint); in NotifyConcurrentResult()
1245 JSTaggedValue SlowRuntimeStub::UpdateAOTHClass(JSThread *thread, JSTaggedValue jshclass, in UpdateAOTHClass() argument
1248 INTERPRETER_TRACE(thread, UpdateAOTHClass); in UpdateAOTHClass()
1249 [[maybe_unused]] EcmaHandleScope handleScope(thread); in UpdateAOTHClass()
1250 JSHandle<JSHClass> oldhclass(thread, jshclass); in UpdateAOTHClass()
1251 JSHandle<JSHClass> newhclass(thread, newjshclass); in UpdateAOTHClass()
1252 return RuntimeStubs::RuntimeUpdateAOTHClass(thread, oldhclass, newhclass, key); in UpdateAOTHClass()
1255 JSTaggedValue SlowRuntimeStub::DefineField(JSThread *thread, JSTaggedValue obj, in DefineField() argument
1258 INTERPRETER_TRACE(thread, DefineField); in DefineField()
1259 return RuntimeStubs::RuntimeDefineField(thread, obj, propKey, value); in DefineField()
1262 JSTaggedValue SlowRuntimeStub::CreatePrivateProperty(JSThread *thread, JSTaggedValue lexicalEnv, in CreatePrivateProperty() argument
1265 INTERPRETER_TRACE(thread, CreatePrivateProperty); in CreatePrivateProperty()
1266 …return RuntimeStubs::RuntimeCreatePrivateProperty(thread, lexicalEnv, count, constpool, literalId,… in CreatePrivateProperty()
1269 JSTaggedValue SlowRuntimeStub::DefinePrivateProperty(JSThread *thread, JSTaggedValue lexicalEnv, in DefinePrivateProperty() argument
1272 INTERPRETER_TRACE(thread, DefinePrivateProperty); in DefinePrivateProperty()
1273 …return RuntimeStubs::RuntimeDefinePrivateProperty(thread, lexicalEnv, levelIndex, slotIndex, obj, … in DefinePrivateProperty()
1276 JSTaggedValue SlowRuntimeStub::LdPrivateProperty(JSThread *thread, JSTaggedValue lexicalEnv, in LdPrivateProperty() argument
1279 INTERPRETER_TRACE(thread, LdPrivateProperty); in LdPrivateProperty()
1280 [[maybe_unused]] EcmaHandleScope handleScope(thread); in LdPrivateProperty()
1281 return RuntimeStubs::RuntimeLdPrivateProperty(thread, lexicalEnv, levelIndex, slotIndex, obj); in LdPrivateProperty()
1284 JSTaggedValue SlowRuntimeStub::StPrivateProperty(JSThread *thread, JSTaggedValue lexicalEnv, in StPrivateProperty() argument
1287 INTERPRETER_TRACE(thread, StPrivateProperty); in StPrivateProperty()
1288 [[maybe_unused]] EcmaHandleScope handleScope(thread); in StPrivateProperty()
1289 …return RuntimeStubs::RuntimeStPrivateProperty(thread, lexicalEnv, levelIndex, slotIndex, obj, valu… in StPrivateProperty()
1292 JSTaggedValue SlowRuntimeStub::TestIn(JSThread *thread, JSTaggedValue lexicalEnv, in TestIn() argument
1295 INTERPRETER_TRACE(thread, TestIn); in TestIn()
1296 [[maybe_unused]] EcmaHandleScope handleScope(thread); in TestIn()
1297 return RuntimeStubs::RuntimeTestIn(thread, lexicalEnv, levelIndex, slotIndex, obj); in TestIn()