Home
last modified time | relevance | path

Searched refs:currentSp (Results 1 - 12 of 12) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/interpreter/
H A Dinterpreter.cpp90 JSTaggedType *currentSp = reinterpret_cast<JSTaggedType *>(info); in ReBuildRuntimeCallInfo() local
92 InterpretedEntryFrame *currentEntryState = InterpretedEntryFrame::GetFrameFromSp(currentSp); in ReBuildRuntimeCallInfo()
100 currentSp += (info->GetArgsNumber() + NUM_MANDATORY_JSFUNC_ARGS + 2); // 2: include thread_ and numArgs_ in ReBuildRuntimeCallInfo()
102 UNLIKELY(thread->DoStackOverflowCheck(currentSp - numArgs - NUM_MANDATORY_JSFUNC_ARGS))) { in ReBuildRuntimeCallInfo()
107 *(--currentSp) = JSTaggedValue::VALUE_UNDEFINED; in ReBuildRuntimeCallInfo()
110 *(--currentSp) = args[i]; in ReBuildRuntimeCallInfo()
112 *(--currentSp) = thisObj.GetRawData(); in ReBuildRuntimeCallInfo()
113 *(--currentSp) = newTarget.GetRawData(); in ReBuildRuntimeCallInfo()
114 *(--currentSp) = func.GetRawData(); in ReBuildRuntimeCallInfo()
115 *(--currentSp) in ReBuildRuntimeCallInfo()
[all...]
H A Dinterpreter-inl.cpp794 JSTaggedType *currentSp = const_cast<JSTaggedType *>(thread->GetCurrentSPFrame()); in GeneratorReEnterInterpreter() local
798 JSTaggedType *breakSp = currentSp - InterpretedFrame::NumOfMembers(); in GeneratorReEnterInterpreter()
807 breakState->base.prev = currentSp; in GeneratorReEnterInterpreter()
846 thread->SetCurrentSPFrame(currentSp); in GeneratorReEnterInterpreter()
1535 JSTaggedType *currentSp = sp; in RunInternal() local
1546 if (IsFastNewFrameExit(currentSp)) { in RunInternal()
1547 JSFunction *func = JSFunction::Cast(GetFunction(currentSp).GetTaggedObject()); in RunInternal()
1553 JSTaggedValue thisObject = GetThis(currentSp); in RunInternal()
1568 JSTaggedValue thisObject = GetThis(currentSp); in RunInternal()
1584 JSTaggedType *currentSp in RunInternal() local
[all...]
/arkcompiler/ets_runtime/ecmascript/compiler/trampoline/aarch64/
H A Doptimized_fast_call.cpp104 Register currentSp = __ AvailableRegister1(); in OptimizedFastCallAndPushArgv() local
214 OptimizedCall::IncreaseStackForArguments(assembler, actualNumArgsReg, currentSp); in OptimizedFastCallAndPushArgv()
215 PushArgsWithArgv(assembler, glue, actualNumArgsReg, argV, undefinedValue, currentSp, nullptr, nullptr); in OptimizedFastCallAndPushArgv()
221 OptimizedCall::IncreaseStackForArguments(assembler, expectedNumArgs, currentSp); in OptimizedFastCallAndPushArgv()
223 PushUndefinedWithArgc(assembler, glue, tmp, undefinedValue, currentSp, nullptr, nullptr); in OptimizedFastCallAndPushArgv()
224 PushArgsWithArgv(assembler, glue, actualNumArgsReg, argV, undefinedValue, currentSp, nullptr, nullptr); in OptimizedFastCallAndPushArgv()
233 OptimizedCall::IncreaseStackForArguments(assembler, expectedNumArgs, currentSp); in OptimizedFastCallAndPushArgv()
236 PushUndefinedWithArgc(assembler, glue, expectedNumArgs, undefinedValue, currentSp, nullptr, nullptr); in OptimizedFastCallAndPushArgv()
268 Register currentSp = __ AvailableRegister1(); in JSFastCallWithArgV() local
317 OptimizedCall::IncreaseStackForArguments(assembler, argC, currentSp); in JSFastCallWithArgV()
346 Register currentSp = __ AvailableRegister1(); JSFastCallWithArgVAndPushArgv() local
[all...]
H A Doptimized_call.cpp99 void OptimizedCall::IncreaseStackForArguments(ExtendedAssembler *assembler, Register argc, Register currentSp, in IncreaseStackForArguments() argument
103 __ Mov(currentSp, sp); in IncreaseStackForArguments()
108 __ Sub(currentSp, currentSp, Operand(argc, UXTW, FRAME_SLOT_SIZE_LOG2)); in IncreaseStackForArguments()
110 __ Tst(currentSp, LogicalImmediate::Create(0xf, RegXSize)); // 0xf: 0x1111 in IncreaseStackForArguments()
112 __ Sub(currentSp, currentSp, Immediate(FRAME_SLOT_SIZE)); in IncreaseStackForArguments()
114 __ Mov(sp, currentSp); in IncreaseStackForArguments()
115 __ Add(currentSp, currentSp, Operan in IncreaseStackForArguments()
1094 PushMandatoryJSArgs(ExtendedAssembler *assembler, Register jsfunc, Register thisObj, Register newTarget, Register currentSp) PushMandatoryJSArgs() argument
1261 Register currentSp = __ AvailableRegister1(); GenJSCallWithArgV() local
[all...]
H A Dcommon_call.cpp72 Register currentSp(X6); in PushLeaveFrame()
89 Register currentSp(X6); in PopLeaveFrame()
H A Dasm_interpreter_call.cpp812 Register currentSp(X20);
819 __ Ldur(fpRegister, MemoryOperand(currentSp, offset));
840 Register currentSp(X20);
847 __ Ldur(fpRegister, MemoryOperand(currentSp, fpOffset));
871 __ Ldur(ret, MemoryOperand(currentSp, thisOffset)); // update result
898 __ Ldur(temp, MemoryOperand(currentSp, funcOffset)); // load constructor
H A Dcommon_call.h122 Register thisObj, Register newTarget, Register currentSp);
/arkcompiler/ets_runtime/ecmascript/compiler/
H A Dinterpreter_stub.cpp2754 GateRef currentSp = *varSp; in DECLARE_ASM_HANDLER() local
2773 CallNGCRuntime(glue, RTSTUB_ID(ResumeRspAndReturn), { *varAcc, *varSp, currentSp }); in DECLARE_ASM_HANDLER()
2781 CallNGCRuntime(glue, RTSTUB_ID(ResumeRspAndReturnBaseline), { *varAcc, *varSp, currentSp, jumpSize }); in DECLARE_ASM_HANDLER()
2793 { glue, currentSp, *varPc, *varConstpool, *varProfileTypeInfo, in DECLARE_ASM_HANDLER()
2853 GateRef currentSp = *varSp; in DECLARE_ASM_HANDLER() local
2873 CallNGCRuntime(glue, RTSTUB_ID(ResumeRspAndReturn), { *varAcc, *varSp, currentSp }); in DECLARE_ASM_HANDLER()
2881 CallNGCRuntime(glue, RTSTUB_ID(ResumeRspAndReturnBaseline), { *varAcc, *varSp, currentSp, jumpSize }); in DECLARE_ASM_HANDLER()
2893 { glue, currentSp, *varPc, *varConstpool, *varProfileTypeInfo, in DECLARE_ASM_HANDLER()
2960 GateRef currentSp = *varSp; in DECLARE_ASM_HANDLER() local
2979 CallNGCRuntime(glue, RTSTUB_ID(ResumeRspAndReturn), { *varAcc, *varSp, currentSp }); in DECLARE_ASM_HANDLER()
3065 GateRef currentSp = *varSp; DECLARE_ASM_HANDLER() local
3446 GateRef currentSp = *varSp; DECLARE_ASM_HANDLER() local
5314 GateRef currentSp = *varSp; DECLARE_ASM_HANDLER() local
5396 GateRef currentSp = *varSp; DECLARE_ASM_HANDLER() local
[all...]
/arkcompiler/ets_runtime/ecmascript/compiler/trampoline/x64/
H A Dasm_interpreter_call.cpp1323 Register currentSp = r12; in ResumeRspAndReturn() local
1327 __ Movq(Operand(currentSp, static_cast<int32_t>(offset)), fpRegister); in ResumeRspAndReturn()
1345 Register currentSp = r12; in ResumeRspAndReturnBaseline() local
1349 __ Movq(Operand(currentSp, static_cast<int32_t>(fpOffset)), fpRegister); in ResumeRspAndReturnBaseline()
1371 __ Movq(Operand(currentSp, static_cast<int32_t>(thisOffset)), ret); in ResumeRspAndReturnBaseline()
1398 __ Movq(Operand(currentSp, static_cast<int32_t>(funcOffset)), temp); in ResumeRspAndReturnBaseline()
/arkcompiler/ets_runtime/ecmascript/compiler/baseline/
H A Dbaseline_stubs.cpp615 GateRef currentSp = *varSp; in GenerateCircuit() local
634 GateRef result = CallNGCRuntime(glue, RTSTUB_ID(ResumeRspAndReturn), { res, *varSp, currentSp }); in GenerateCircuit()
642 CallNGCRuntime(glue, RTSTUB_ID(ResumeRspAndReturnBaseline), { res, *varSp, currentSp }); in GenerateCircuit()
654 { glue, currentSp, varPc, *varConstpool, *varProfileTypeInfo, in GenerateCircuit()
3386 GateRef currentSp = *varSp; in GenerateCircuit() local
3405 CallNGCRuntime(glue, RTSTUB_ID(ResumeRspAndReturn), { acc, *varSp, currentSp }); in GenerateCircuit()
3413 CallNGCRuntime(glue, RTSTUB_ID(ResumeRspAndReturnBaseline), { acc, *varSp, currentSp, jumpSize }); in GenerateCircuit()
3425 { glue, currentSp, *varPc, *varConstpool, *varProfileTypeInfo, in GenerateCircuit()
4938 GateRef currentSp = *varSp; in GenerateCircuit() local
4956 CallNGCRuntime(glue, RTSTUB_ID(ResumeRspAndReturn), { currentSp }); in GenerateCircuit()
5659 GateRef currentSp = *varSp; GenerateCircuit() local
5774 GateRef currentSp = *varSp; GenerateCircuit() local
[all...]
/arkcompiler/ets_runtime/ecmascript/
H A Djs_proxy.cpp1031 JSTaggedType *currentSp = reinterpret_cast<JSTaggedType *>(info); in ConstructInternal() local
1032 InterpretedEntryFrame *currentEntryState = InterpretedEntryFrame::GetFrameFromSp(currentSp); in ConstructInternal()
H A Djs_function.cpp761 JSTaggedType *currentSp = reinterpret_cast<JSTaggedType *>(info); in ConstructInternal() local
762 InterpretedEntryFrame *currentEntryState = InterpretedEntryFrame::GetFrameFromSp(currentSp); in ConstructInternal()

Completed in 41 milliseconds