Lines Matching defs:actualNumArgs
335 if (UNLIKELY(thread->DoStackOverflowCheck(newSp - actualNumArgs))) { \
338 for (int32_t i = actualNumArgs - 1; i >= 0; i--) { \
346 if (UNLIKELY(thread->DoStackOverflowCheck(newSp - actualNumArgs))) { \
349 for (int32_t i = actualNumArgs; i > 0; i--) { \
357 if (UNLIKELY(thread->DoStackOverflowCheck(newSp - actualNumArgs))) { \
361 for (int32_t i = actualNumArgs; i > 0; i--) { \
369 if (UNLIKELY(thread->DoStackOverflowCheck(newSp - actualNumArgs))) { \
373 for (int32_t i = actualNumArgs + 1; i > 1; i--) { \
425 int num = std::min(actualNumArgs, declaredNumArgs); \
437 int num = std::min(actualNumArgs, declaredNumArgs); \
449 int num = std::min(actualNumArgs, declaredNumArgs); \
462 int num = std::min(actualNumArgs, declaredNumArgs); \
482 if (actualNumArgs == declaredNumArgs) { \
490 CALL_PUSH_UNDEFINED(declaredNumArgs - actualNumArgs); \
493 /* push actualNumArgs in the end, then all args, may push undefined */ \
494 *(--newSp) = JSTaggedValue(actualNumArgs).GetRawData(); \
495 CALL_PUSH_UNDEFINED(declaredNumArgs - actualNumArgs); \
511 if (actualNumArgs == declaredNumArgs) { \
519 CALL_PUSH_UNDEFINED(declaredNumArgs - actualNumArgs); \
522 /* push actualNumArgs in the end, then all args, may push undefined */ \
523 *(--newSp) = JSTaggedValue(actualNumArgs).GetRawData(); \
524 CALL_PUSH_UNDEFINED(declaredNumArgs - actualNumArgs); \
674 int32_t actualNumArgs = static_cast<int32_t>(info->GetArgsNumber());
677 if (UNLIKELY(thread->DoStackOverflowCheck(newSp - actualNumArgs - NUM_MANDATORY_JSFUNC_ARGS))) {
683 if (actualNumArgs == declaredNumArgs) {
685 for (int i = actualNumArgs - 1; i >= 0; i--) {
693 if (declaredNumArgs > actualNumArgs) {
694 CALL_PUSH_UNDEFINED(declaredNumArgs - actualNumArgs);
696 for (int32_t i = std::min(actualNumArgs, declaredNumArgs) - 1; i >= 0; i--) {
701 // push actualNumArgs in the end, then all args, may push undefined
703 *(--newSp) = JSTaggedValue(actualNumArgs).GetRawData();
704 if (declaredNumArgs > actualNumArgs) {
705 CALL_PUSH_UNDEFINED(declaredNumArgs - actualNumArgs);
707 for (int32_t i = actualNumArgs - 1; i >= 0; i--) {
1223 int32_t actualNumArgs;
1231 actualNumArgs = ActualNumArgsOfCall::CALLARG0;
1238 actualNumArgs = ActualNumArgsOfCall::CALLARG0;
1247 actualNumArgs = ActualNumArgsOfCall::CALLARG1;
1256 actualNumArgs = ActualNumArgsOfCall::CALLARG1;
1266 actualNumArgs = ActualNumArgsOfCall::CALLARGS2;
1276 actualNumArgs = ActualNumArgsOfCall::CALLARGS2;
1287 actualNumArgs = ActualNumArgsOfCall::CALLARGS3;
1298 actualNumArgs = ActualNumArgsOfCall::CALLARGS3;
1310 actualNumArgs = ActualNumArgsOfCall::CALLARG0;
1318 actualNumArgs = ActualNumArgsOfCall::CALLARG1;
1327 actualNumArgs = ActualNumArgsOfCall::CALLARGS2;
1337 actualNumArgs = ActualNumArgsOfCall::CALLARGS3;
1348 actualNumArgs = READ_INST_8_1();
1350 LOG_INST() << "call.this.range " << actualNumArgs << ", v" << startReg;
1356 actualNumArgs = READ_INST_16_1();
1358 LOG_INST() << "call.this.range " << actualNumArgs << ", v" << startReg;
1364 actualNumArgs = static_cast<int32_t>(READ_INST_16_1() - 1); // 1: exclude this
1366 LOG_INST() << "call.this.range " << actualNumArgs << ", v" << startReg;
1372 actualNumArgs = READ_INST_8_1();
1374 LOG_INST() << "calli.range " << actualNumArgs << ", v" << startReg;
1380 actualNumArgs = READ_INST_16_1();
1382 LOG_INST() << "calli.range " << actualNumArgs << ", v" << startReg;
1388 actualNumArgs = READ_INST_16_1();
1390 LOG_INST() << "calli.range " << actualNumArgs << ", v" << startReg;
1397 actualNumArgs = ActualNumArgsOfCall::CALLARG0;
1412 *(--newSp) = actualNumArgs + NUM_MANDATORY_JSFUNC_ARGS;
1665 uint32_t actualNumArgs = GetNumArgs(sp, 0, startIdx);
1668 JSTaggedValue res = SlowRuntimeStub::GetUnmapedArgs(thread, sp, actualNumArgs, startIdx);
7878 // In this case, actualNumArgs is in the end
7879 // If not, then actualNumArgs == declaredNumArgs, therefore do nothing