Home
last modified time | relevance | path

Searched refs:actualArgc (Results 1 - 11 of 11) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/interpreter/
H A Dinterpreter.cpp95 int actualArgc = static_cast<int>(info->GetArgsNumber()); in ReBuildRuntimeCallInfo() local
96 std::vector<JSTaggedType> args(actualArgc); in ReBuildRuntimeCallInfo()
97 for (int i = 0; i < actualArgc; i++) { in ReBuildRuntimeCallInfo()
98 args[i] = info->GetCallArgValue(actualArgc - i - 1).GetRawData(); in ReBuildRuntimeCallInfo()
105 ASSERT(numArgs != actualArgc); in ReBuildRuntimeCallInfo()
106 for (int i = 0; i < (numArgs - actualArgc); i++) { in ReBuildRuntimeCallInfo()
109 for (int i = 0; i < actualArgc; i++) { in ReBuildRuntimeCallInfo()
/arkcompiler/ets_runtime/ecmascript/compiler/
H A Dslowpath_lowering.cpp1023 GateRef actualArgc = builder_.Int64(BytecodeCallArgc::ComputeCallArgc(acc_.GetNumValueIn(gate), in LowerCallArg0() local
1029 LowerToJSCall(gate, {glue_, actualArgc, actualArgv, func, newTarget, thisObj}, {glue_, func, thisObj}); in LowerCallArg0()
1038 GateRef actualArgc = builder_.Int64(BytecodeCallArgc::ComputeCallArgc(acc_.GetNumValueIn(gate), in LowerCallthisrangeImm8Imm8V8() local
1045 std::vector<GateRef> vec { glue_, actualArgc, actualArgv, callTarget, newTarget, thisObj }; in LowerCallthisrangeImm8Imm8V8()
1064 GateRef actualArgc = builder_.Int64(BytecodeCallArgc::ComputeCallArgc(acc_.GetNumValueIn(gate), in LowerWideCallthisrangePrefImm16V8() local
1071 std::vector<GateRef> vec {glue_, actualArgc, actualArgv, callTarget, newTarget, thisObj}; in LowerWideCallthisrangePrefImm16V8()
1099 GateRef actualArgc = builder_.Int64(BytecodeCallArgc::ComputeCallArgc(acc_.GetNumValueIn(gate), in LowerCallrangeImm8Imm8V8() local
1107 std::vector<GateRef> vec {glue_, actualArgc, actualArgv, callTarget, newTarget, thisObj}; in LowerCallrangeImm8Imm8V8()
1820 GateRef actualArgc = builder_.ZExtInt32ToInt64( in LowerSuperCallSpread() local
1822 LowerFastSuperCallWithArgArray(array, {gate, superFunc, *newTarget, *thisObj, actualArgc}, in LowerSuperCallSpread()
1869 GateRef actualArgc = args[4]; // 4: index of actualArgc LowerFastSuperCall() local
1952 GateRef actualArgc = argAcc_.GetFrameArgsIn(gate, FrameArgIdx::ACTUAL_ARGC); LowerSuperCallForwardAllArgs() local
2003 GateRef actualArgc = args[2]; // 2: num of args GenerateSuperCallForwardAllArgsWithoutArgv() local
2059 GateRef actualArgc = builder_.Int64(BytecodeCallArgc::ComputeCallArgc(acc_.GetNumValueIn(gate), LowerNewObjRange() local
3089 GateRef actualArgc = argAcc_.GetFrameArgsIn(gate, FrameArgIdx::ACTUAL_ARGC); LowerGetUnmappedArgs() local
3097 GateRef actualArgc = argAcc_.GetFrameArgsIn(gate, FrameArgIdx::ACTUAL_ARGC); LowerCopyRestArgs() local
3166 GateRef actualArgc = builder_.Int64(BytecodeCallArgc::ComputeCallArgc(acc_.GetNumValueIn(gate), LowerCallthis0Imm8V8() local
3179 GateRef actualArgc = builder_.Int64(BytecodeCallArgc::ComputeCallArgc(acc_.GetNumValueIn(gate), LowerCallArg1Imm8V8() local
3197 GateRef actualArgc = builder_.Int64(BytecodeCallArgc::ComputeCallArgc(acc_.GetNumValueIn(gate), LowerWideCallrangePrefImm16V8() local
3229 GateRef actualArgc = builder_.Int64(BytecodeCallArgc::ComputeCallArgc(acc_.GetNumValueIn(gate), LowerCallThisArg1() local
3243 GateRef actualArgc = builder_.Int64(BytecodeCallArgc::ComputeCallArgc(acc_.GetNumValueIn(gate), LowerCallargs2Imm8V8V8() local
3260 GateRef actualArgc = builder_.Int64(BytecodeCallArgc::ComputeCallArgc(acc_.GetNumValueIn(gate), LowerCallargs3Imm8V8V8() local
3278 GateRef actualArgc = builder_.Int64(BytecodeCallArgc::ComputeCallArgc(acc_.GetNumValueIn(gate), LowerCallthis2Imm8V8V8V8() local
3295 GateRef actualArgc = builder_.Int64(BytecodeCallArgc::ComputeCallArgc(acc_.GetNumValueIn(gate), LowerCallthis3Imm8V8V8V8V8() local
3833 GateRef actualArgc = builder_.Int64(BytecodeCallArgc::ComputeCallArgc(acc_.GetNumValueIn(gate), LowerCallInit() local
[all...]
H A Dcommon_stubs.cpp370 GateRef actualArgc = Int32Sub(numArgs, Int32(NUM_MANDATORY_JSFUNC_ARGS)); in GenerateCircuit() local
372 BRANCH(Int32UnsignedGreaterThan(actualArgc, startIdx), &numArgsGreater, &numArgsNotGreater); in GenerateCircuit()
375 actualRestNum = Int32Sub(actualArgc, startIdx); in GenerateCircuit()
406 GateRef actualArgc = Int32Sub(numArgs, Int32(NUM_MANDATORY_JSFUNC_ARGS)); in GenerateCircuit() local
413 GateRef argumentsListObj = newBuilder.NewArgumentsListObj(actualArgc); in GenerateCircuit()
422 newBuilder.FillArgumentsList(*argumentsList, args, startIdx, actualArgc); in GenerateCircuit()
423 newBuilder.NewArgumentsObj(&argumentsObj, &exit, *argumentsList, actualArgc); in GenerateCircuit()
969 GateRef actualArgc = Int64Sub(argc, IntPtr(NUM_MANDATORY_JSFUNC_ARGS)); in GenerateCircuit() local
978 { glue, func, thisValue, actualArgc, argv }); in GenerateCircuit()
984 { glue, func, thisValue, actualArgc, arg in GenerateCircuit()
[all...]
H A Dntype_hcr_lowering.cpp145 GateRef actualArgc = builder_.TruncInt64ToInt32(argAcc.GetFrameArgsIn(frameState, FrameArgIdx::ACTUAL_ARGC)); in LowerCreateArguments() local
151 GateRef check = builder_.BitAnd(builder_.Equal(actualArgc, expectedArgc), in LowerCreateArguments()
165 { glue, *actualArgv, startIdx, actualArgc, *actualArgvArray }); in LowerCreateArguments()
171 { glue, *actualArgv, actualArgc, *actualArgvArray }); in LowerCreateArguments()
H A Dtyped_bytecode_lowering.cpp1551 size_t actualArgc = static_cast<size_t>(BytecodeCallArgc::ComputeCallArgc(acc_.GetNumValueIn(gate), in LowerTypedNewObjRange() local
1553 GateRef argc = builder_.Int64(actualArgc); in LowerTypedNewObjRange()
1559 bool needPushArgv = (expectedArgc != actualArgc); in LowerTypedNewObjRange()
1630 GateRef actualArgc = builder_.Int64(range + 3); // 3: ctor, newTaget, this in LowerTypedSuperCall() local
1632 std::vector<GateRef> args { glue_, actualArgc, actualArgv, superCtor, newTarget, thisObj }; in LowerTypedSuperCall()
1823 GateRef actualArgc = Circuit::NullGate(); in LowerTypedCall() local
1827 actualArgc = builder_.Int64(BytecodeCallArgc::ComputeCallArgc(acc_.GetNumValueIn(gate), in LowerTypedCall()
1832 actualArgc = builder_.Int64(BytecodeCallArgc::ComputeCallArgc(acc_.GetNumValueIn(gate), in LowerTypedCall()
1837 actualArgc = builder_.Int64(BytecodeCallArgc::ComputeCallArgc(acc_.GetNumValueIn(gate), in LowerTypedCall()
1842 actualArgc in LowerTypedCall()
2000 GateRef actualArgc = Circuit::NullGate(); LowerTypedThisCall() local
[all...]
H A Dts_inline_lowering.cpp289 size_t actualArgc = numIns + NUM_MANDATORY_JSFUNC_ARGS - fixedInputsNum; in ReplaceCallInput() local
292 vec.emplace_back(builder_.Int64(actualArgc)); // argc in ReplaceCallInput()
314 size_t actualArgc = 0; in ReplaceAccessorInput() local
316 actualArgc = NUM_MANDATORY_JSFUNC_ARGS; in ReplaceAccessorInput()
318 actualArgc = NUM_MANDATORY_JSFUNC_ARGS + 1; in ReplaceAccessorInput()
325 vec.emplace_back(builder_.Int64(actualArgc)); // argc in ReplaceAccessorInput()
/arkcompiler/ets_runtime/ecmascript/stubs/
H A Druntime_stubs-inl.h2770 JSTaggedValue RuntimeStubs::RuntimeOptCopyRestArgs(JSThread *thread, uint32_t actualArgc, uint32_t restIndex)
2774 if (actualArgc > NUM_MANDATORY_JSFUNC_ARGS + restIndex) {
2775 actualRestNum = actualArgc - NUM_MANDATORY_JSFUNC_ARGS - restIndex;
2783 for (uint32_t i = NUM_MANDATORY_JSFUNC_ARGS + restIndex; i < actualArgc; ++i) {
H A Druntime_stubs.h456 static inline JSTaggedValue RuntimeOptCopyRestArgs(JSThread *thread, uint32_t actualArgc, uint32_t restIndex);
H A Druntime_stubs.cpp1109 int actualArgc = GetArg(argv, argc, 2).GetInt(); // 2: index of actual argc in DEF_RUNTIME_STUBS() local
1110 ASSERT(actualArgc >= 0); in DEF_RUNTIME_STUBS()
1111 uint32_t convertedActualArgc = static_cast<uint32_t>(actualArgc); in DEF_RUNTIME_STUBS()
2757 JSTaggedValue actualArgc = GetArg(argv, argc, 0); // 0: means the zeroth parameter in DEF_RUNTIME_STUBS() local
2759 return RuntimeOptCopyRestArgs(thread, actualArgc.GetInt(), restIndex.GetInt()).GetRawData(); in DEF_RUNTIME_STUBS()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/llvm/
H A Dllvm_ir_builder.cpp2907 GateRef actualArgc = argAcc.GetFrameArgsIn(frameState, FrameArgIdx::ACTUAL_ARGC); in VisitDeoptCheck() local
2941 SaveDeoptVregInfoWithI64(values, specArgcIndex, curDepth, shift, actualArgc); in VisitDeoptCheck()
3090 LLVMTypeRef actualArgc = NewLType(MachineType::I64, GateType::NJSValue()); in AddFunc() local
3092 paramTys.emplace_back(actualArgc); in AddFunc()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/
H A Dlitecg_ir_builder.cpp166 funcBuilder.Param(lmirBuilder_->i64Type, "actualArgc") in AddFunc()
2961 GateRef actualArgc = argAcc.GetFrameArgsIn(frameState, FrameArgIdx::ACTUAL_ARGC); in VisitDeoptCheck() local
2996 SaveDeoptVregInfoWithI64(deoptBundleInfo, bb, specArgcIndex, curDepth, shift, actualArgc); in VisitDeoptCheck()

Completed in 44 milliseconds