Home
last modified time | relevance | path

Searched refs:actualArgc (Results 1 – 10 of 10) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/interpreter/
Dinterpreter.cpp80 uint32_t actualArgc = info->GetArgsNumber(); in ReBuildRuntimeCallInfo() local
81 std::vector<JSTaggedType> args(actualArgc); in ReBuildRuntimeCallInfo()
82 for (uint32_t i = 0; i < actualArgc; i++) { in ReBuildRuntimeCallInfo()
83 args[i] = info->GetCallArgValue(actualArgc - i - 1).GetRawData(); in ReBuildRuntimeCallInfo()
89 ASSERT(numArgs > actualArgc); in ReBuildRuntimeCallInfo()
90 for (uint32_t i = 0; i < (numArgs - actualArgc); i++) { in ReBuildRuntimeCallInfo()
93 for (uint32_t i = 0; i < actualArgc; i++) { in ReBuildRuntimeCallInfo()
/arkcompiler/ets_runtime/ecmascript/compiler/
Dts_hcr_lowering.cpp1049 …GateRef actualArgc = builder_.Int64(BytecodeCallArgc::ComputeCallArgc(range, EcmaOpcode::NEWOBJRAN… in LowerTypedNewObjRange() local
1050 std::vector<GateRef> args { glue_, actualArgc, ctor, ctor, thisObj }; in LowerTypedNewObjRange()
1078 GateRef actualArgc = builder_.Int64(range + 3); // 3: ctor, newTaget, this in LowerTypedSuperCall() local
1079 std::vector<GateRef> args { glue_, actualArgc, superCtor, newTarget, thisObj }; in LowerTypedSuperCall()
1194 GateRef actualArgc = builder_.Int64(BytecodeCallArgc::ComputeCallArgc(acc_.GetNumValueIn(gate), in LowerTypedCallArg0() local
1196 LowerTypedCall(gate, func, actualArgc, funcType, 0); in LowerTypedCallArg0()
1213 … GateRef actualArgc = builder_.Int64(BytecodeCallArgc::ComputeCallArgc(acc_.GetNumValueIn(gate), in LowerTypedCallArg1() local
1215 LowerTypedCall(gate, func, actualArgc, funcType, 1); in LowerTypedCallArg1()
1226 GateRef actualArgc = builder_.Int64(BytecodeCallArgc::ComputeCallArgc(acc_.GetNumValueIn(gate), in LowerTypedCallArg2() local
1228 LowerTypedCall(gate, func, actualArgc, funcType, 2); // 2: 2 params in LowerTypedCallArg2()
[all …]
Dcommon_stubs.cpp292 GateRef actualArgc = Int32Sub(numArgs, Int32(NUM_MANDATORY_JSFUNC_ARGS)); in GenerateCircuit() local
296 newBuilder.NewArgumentsList(&argumentsList, &afterArgumentsList, args, startIdx, actualArgc); in GenerateCircuit()
300 newBuilder.NewArgumentsObj(&argumentsObj, &exit, *argumentsList, actualArgc); in GenerateCircuit()
718 GateRef actualArgc = Int64Sub(argc, IntPtr(NUM_MANDATORY_JSFUNC_ARGS)); in GenerateCircuit() local
728 { glue, func, thisValue, actualArgc, argv }); in GenerateCircuit()
734 { glue, func, thisValue, actualArgc, argv, expectedNum }); in GenerateCircuit()
744 { glue, actualArgc, func, newTarget, thisValue, argv }); in GenerateCircuit()
750 { glue, actualArgc, func, newTarget, thisValue, argv }); in GenerateCircuit()
812 GateRef actualArgc = Int64Sub(argc, IntPtr(NUM_MANDATORY_JSFUNC_ARGS)); in GenerateCircuit() local
818 { glue, target, thisTarget, actualArgc, actualArgv }); in GenerateCircuit()
[all …]
Dslowpath_lowering.cpp914 GateRef actualArgc = builder_.Int64(BytecodeCallArgc::ComputeCallArgc(acc_.GetNumValueIn(gate), in LowerCallArg0() local
919 LowerToJSCall(gate, {glue_, actualArgc, func, newTarget, thisObj}, {glue_, func, thisObj}); in LowerCallArg0()
928 GateRef actualArgc = builder_.Int64(BytecodeCallArgc::ComputeCallArgc(acc_.GetNumValueIn(gate), in LowerCallthisrangeImm8Imm8V8() local
934 std::vector<GateRef> vec { glue_, actualArgc, callTarget, newTarget, thisObj }; in LowerCallthisrangeImm8Imm8V8()
953 GateRef actualArgc = builder_.Int64(BytecodeCallArgc::ComputeCallArgc(acc_.GetNumValueIn(gate), in LowerWideCallthisrangePrefImm16V8() local
959 std::vector<GateRef> vec {glue_, actualArgc, callTarget, newTarget, thisObj}; in LowerWideCallthisrangePrefImm16V8()
987 GateRef actualArgc = builder_.Int64(BytecodeCallArgc::ComputeCallArgc(acc_.GetNumValueIn(gate), in LowerCallrangeImm8Imm8V8() local
993 std::vector<GateRef> vec {glue_, actualArgc, callTarget, newTarget, thisObj}; in LowerCallrangeImm8Imm8V8()
1681 … GateRef actualArgc = builder_.Int64(BytecodeCallArgc::ComputeCallArgc(acc_.GetNumValueIn(gate), in LowerNewObjRange() local
1687 args.emplace_back(actualArgc); in LowerNewObjRange()
[all …]
Dts_hcr_lowering.h132 …void LowerTypedCall(GateRef gate, GateRef func, GateRef actualArgc, GateType funcType, uint32_t ar…
133 void LowerTypedThisCall(GateRef gate, GateRef func, GateRef actualArgc, uint32_t argc);
Dts_inline_lowering.cpp246 size_t actualArgc = numIns + NUM_MANDATORY_JSFUNC_ARGS - fixedInputsNum; in ReplaceCallInput() local
249 vec.emplace_back(builder_.Int64(actualArgc)); // argc in ReplaceCallInput()
275 size_t actualArgc = 0; in ReplaceAccessorInput() local
277 actualArgc = NUM_MANDATORY_JSFUNC_ARGS; in ReplaceAccessorInput()
279 actualArgc = NUM_MANDATORY_JSFUNC_ARGS + 1; in ReplaceAccessorInput()
286 vec.emplace_back(builder_.Int64(actualArgc)); // argc in ReplaceAccessorInput()
Dllvm_ir_builder.cpp2345 GateRef actualArgc = argAcc.GetFrameArgsIn(frameState, FrameArgIdx::ACTUAL_ARGC); in VisitDeoptCheck() local
2379 SaveDeoptVregInfoWithI64(values, specArgcIndex, curDepth, shift, actualArgc); in VisitDeoptCheck()
2540 LLVMTypeRef actualArgc = NewLType(MachineType::I64, GateType::NJSValue()); in AddFunc() local
2541 paramTys.emplace_back(actualArgc); in AddFunc()
/arkcompiler/ets_runtime/ecmascript/stubs/
Druntime_stubs-inl.h2253 JSTaggedValue RuntimeStubs::RuntimeOptCopyRestArgs(JSThread *thread, uint32_t actualArgc, uint32_t … in RuntimeOptCopyRestArgs() argument
2257 if (actualArgc > NUM_MANDATORY_JSFUNC_ARGS + restIndex) { in RuntimeOptCopyRestArgs()
2258 actualRestNum = actualArgc - NUM_MANDATORY_JSFUNC_ARGS - restIndex; in RuntimeOptCopyRestArgs()
2266 for (uint32_t i = NUM_MANDATORY_JSFUNC_ARGS + restIndex; i < actualArgc; ++i) { in RuntimeOptCopyRestArgs()
Druntime_stubs.h639 …static inline JSTaggedValue RuntimeOptCopyRestArgs(JSThread *thread, uint32_t actualArgc, uint32_t…
Druntime_stubs.cpp1859 JSTaggedValue actualArgc = GetArg(argv, argc, 0); // 0: means the zeroth parameter in DEF_RUNTIME_STUBS() local
1861 return RuntimeOptCopyRestArgs(thread, actualArgc.GetInt(), restIndex.GetInt()).GetRawData(); in DEF_RUNTIME_STUBS()