/arkcompiler/ets_runtime/ecmascript/interpreter/ |
H A D | slow_runtime_stub.h | 122 static JSTaggedValue LdSendableExternalModuleVar(JSThread *thread, int32_t index, JSTaggedValue thisFunc); 123 static JSTaggedValue LdLazyExternalModuleVar(JSThread *thread, int32_t index, JSTaggedValue thisFunc); 124 static JSTaggedValue LdLazySendableExternalModuleVar(JSThread *thread, int32_t index, JSTaggedValue thisFunc); 163 static JSTaggedValue LdSuperByValue(JSThread *thread, JSTaggedValue obj, JSTaggedValue key, JSTaggedValue thisFunc); 165 JSTaggedValue thisFunc);
|
H A D | interpreter_assembly.cpp | 2332 JSTaggedValue thisFunc = GetFunction(sp); 2333 JSTaggedValue res = SlowRuntimeStub::StSuperByValue(thread, receiver, propKey, value, thisFunc); 2672 JSTaggedValue thisFunc = GetFunction(sp); 2673 JSTaggedValue res = SlowRuntimeStub::StSuperByValue(thread, obj, propKey, value, thisFunc); 2903 JSTaggedValue thisFunc = GET_ACC(); 2908 JSTaggedValue res = SlowRuntimeStub::SuperCallSpread(thread, thisFunc, newTarget, array); 3312 JSTaggedValue thisFunc = GetFunction(sp); 3315 JSTaggedValue moduleVar = SlowRuntimeStub::LdSendableExternalModuleVar(thread, index, thisFunc); 3522 JSTaggedValue thisFunc = GET_ACC(); 3526 JSTaggedValue superCtor = SlowRuntimeStub::GetSuperConstructor(thread, thisFunc); [all...] |
H A D | slow_runtime_stub.cpp | 1035 JSTaggedValue SlowRuntimeStub::LdSendableExternalModuleVar(JSThread *thread, int32_t index, JSTaggedValue thisFunc) in LdSendableExternalModuleVar() argument 1040 return RuntimeStubs::RuntimeLdSendableExternalModuleVar(thread, index, thisFunc); in LdSendableExternalModuleVar() 1043 JSTaggedValue SlowRuntimeStub::LdLazyExternalModuleVar(JSThread *thread, int32_t index, JSTaggedValue thisFunc) in LdLazyExternalModuleVar() argument 1047 return RuntimeStubs::RuntimeLdLazyExternalModuleVar(thread, index, thisFunc); in LdLazyExternalModuleVar() 1050 JSTaggedValue SlowRuntimeStub::LdLazySendableExternalModuleVar(JSThread *thread, int32_t index, JSTaggedValue thisFunc) in LdLazySendableExternalModuleVar() argument 1055 return RuntimeStubs::RuntimeLdLazySendableExternalModuleVar(thread, index, thisFunc); in LdLazySendableExternalModuleVar() 1059 JSTaggedValue thisFunc) in LdSuperByValue() 1066 return RuntimeStubs::RuntimeLdSuperByValue(thread, objHandle, propHandle, thisFunc); in LdSuperByValue() 1070 JSTaggedValue value, JSTaggedValue thisFunc) in StSuperByValue() 1078 return RuntimeStubs::RuntimeStSuperByValue(thread, objHandle, propHandle, valueHandle, thisFunc); in StSuperByValue() 1058 LdSuperByValue(JSThread *thread, JSTaggedValue obj, JSTaggedValue key, JSTaggedValue thisFunc) LdSuperByValue() argument 1069 StSuperByValue(JSThread *thread, JSTaggedValue obj, JSTaggedValue key, JSTaggedValue value, JSTaggedValue thisFunc) StSuperByValue() argument [all...] |
H A D | interpreter-inl.cpp | 744 JSHandle<JSFunction> thisFunc = JSHandle<JSFunction>::Cast(func); in Execute() local 745 state->profileTypeInfo = thisFunc->GetProfileTypeInfo(); in Execute() 748 state->env = thisFunc->GetLexicalEnv(); in Execute() 2679 JSTaggedValue thisFunc = GetFunction(sp); in RunInternal() local 2680 JSTaggedValue res = SlowRuntimeStub::StSuperByValue(thread, receiver, propKey, value, thisFunc); in RunInternal() 3091 JSTaggedValue thisFunc = GetFunction(sp); in RunInternal() local 3092 JSTaggedValue res = SlowRuntimeStub::StSuperByValue(thread, obj, propKey, value, thisFunc); in RunInternal() 3250 JSTaggedValue thisFunc = GetFunction(sp); in RunInternal() local 3254 JSTaggedValue superCtor = SlowRuntimeStub::GetSuperConstructor(thread, thisFunc); in RunInternal() 3375 JSTaggedValue res = SlowRuntimeStub::SuperCall(thread, thisFunc, newTarge in RunInternal() 3386 JSTaggedValue thisFunc = GetFunction(sp); RunInternal() local 3522 JSTaggedValue thisFunc = GET_ACC(); RunInternal() local 3658 JSTaggedValue thisFunc = GET_ACC(); RunInternal() local 3793 JSTaggedValue thisFunc = GET_ACC(); RunInternal() local 3807 JSTaggedValue thisFunc = GET_VREG_VALUE(v0); RunInternal() local 3839 JSTaggedValue thisFunc = GetFunction(sp); RunInternal() local 5558 JSTaggedValue thisFunc = GetFunction(sp); RunInternal() local 5574 JSTaggedValue thisFunc = GetFunction(sp); RunInternal() local 5591 JSTaggedValue thisFunc = GetFunction(sp); RunInternal() local 6480 JSTaggedValue thisFunc = GetFunction(sp); RunInternal() local 6499 JSTaggedValue thisFunc = GetFunction(sp); RunInternal() local 6518 JSTaggedValue thisFunc = GetFunction(sp); RunInternal() local 6642 JSTaggedValue thisFunc = GetFunction(sp); RunInternal() local 6718 JSTaggedValue thisFunc = GetFunction(sp); RunInternal() local 7435 JSTaggedValue thisFunc = GetFunction(sp); RunInternal() local 7446 JSTaggedValue thisFunc = GetFunction(sp); RunInternal() local 7937 auto thisFunc = JSFunction::Cast(state->function.GetTaggedObject()); UpdateHotnessCounter() local [all...] |
/arkcompiler/runtime_core/static_core/compiler/optimizer/ir_builder/ |
H A D | inst_builder.cpp | 66 auto thisFunc = GetGraph()->FindParameter(0); in InitEnv() local 67 auto cp = GetGraph()->CreateInstLoadConstantPool(DataType::ANY, INVALID_PC, thisFunc); in InitEnv() 70 auto lexEnv = GetGraph()->CreateInstLoadLexicalEnv(DataType::ANY, INVALID_PC, thisFunc); in InitEnv() 73 defs_[bb->GetId()][vregsAndArgsCount_ + 1 + THIS_FUNC_IDX] = thisFunc; in InitEnv() 76 COMPILER_LOG(DEBUG, IR_BUILDER) << "Init environment this_func = " << thisFunc->GetId() in InitEnv()
|
/arkcompiler/ets_runtime/ecmascript/stubs/ |
H A D | runtime_stubs.cpp | 1298 JSTaggedValue thisFunc = InterpreterAssembly::GetFunction(sp); in DEF_RUNTIME_STUBS() local 1299 return RuntimeLdSuperByValue(thread, obj, key, thisFunc).GetRawData(); in DEF_RUNTIME_STUBS() 1307 JSTaggedValue thisFunc = GetArg(argv, argc, 2); // 2: means the second parameter in DEF_RUNTIME_STUBS() local 1308 return RuntimeLdSuperByValue(thread, obj, key, thisFunc).GetRawData(); in DEF_RUNTIME_STUBS() 1318 JSTaggedValue thisFunc = InterpreterAssembly::GetFunction(sp); in DEF_RUNTIME_STUBS() local 1319 return RuntimeStSuperByValue(thread, obj, key, value, thisFunc).GetRawData(); in DEF_RUNTIME_STUBS() 1328 JSTaggedValue thisFunc = GetArg(argv, argc, 3); // 3: means the third parameter in DEF_RUNTIME_STUBS() local 1329 return RuntimeStSuperByValue(thread, obj, key, value, thisFunc).GetRawData(); in DEF_RUNTIME_STUBS() 1548 JSHandle<JSFunction> thisFunc = GetHArg<JSFunction>(argv, argc, 0); // 0: means the zeroth parameter in DEF_RUNTIME_STUBS() local 1550 JSHandle<Method> method(thread, thisFunc in DEF_RUNTIME_STUBS() 1563 JSHandle<JSFunction> thisFunc = GetHArg<JSFunction>(argv, argc, 0); // 0: means the zeroth parameter DEF_RUNTIME_STUBS() local 1571 JSHandle<JSFunction> thisFunc = GetHArg<JSFunction>(argv, argc, 0); // 0: means the zeroth parameter DEF_RUNTIME_STUBS() local 1579 JSHandle<JSFunction> thisFunc = GetHArg<JSFunction>(argv, argc, 0); // 0: means the zeroth parameter DEF_RUNTIME_STUBS() local 1593 JSHandle<JSFunction> thisFunc = GetHArg<JSFunction>(argv, argc, 0); // 0: means the zeroth parameter DEF_RUNTIME_STUBS() local 1602 JSHandle<JSFunction> thisFunc = GetHArg<JSFunction>(argv, argc, 0); // 0: means the zeroth parameter DEF_RUNTIME_STUBS() local 1611 JSHandle thisFunc = GetHArg<JSFunction>(argv, argc, 0); // 0: means the zeroth parameter DEF_RUNTIME_STUBS() local 2067 JSHandle<JSFunction> thisFunc = GetHArg<JSFunction>(argv, argc, 0); // 0: means the zeroth parameter DEF_RUNTIME_STUBS() local 4032 JSHandle<JSTaggedValue> thisFunc = GetHArg<JSTaggedValue>(argv, argc, 0); // 0: means the zeroth parameter DEF_RUNTIME_STUBS() local 4054 JSHandle<JSTaggedValue> thisFunc = GetHArg<JSTaggedValue>(argv, argc, 0); // 0: means the zeroth parameter DEF_RUNTIME_STUBS() local [all...] |
H A D | runtime_stubs.h | 229 const JSHandle<JSTaggedValue> &key, JSTaggedValue thisFunc);
232 const JSHandle<JSTaggedValue> &value, JSTaggedValue thisFunc);
|
H A D | runtime_stubs-inl.h | 679 const JSHandle<JSTaggedValue> &key, JSTaggedValue thisFunc) in RuntimeLdSuperByValue() 681 ASSERT(thisFunc.IsJSFunction()); in RuntimeLdSuperByValue() 683 JSHandle<JSTaggedValue> homeObject(thread, JSFunction::Cast(thisFunc.GetTaggedObject())->GetHomeObject()); in RuntimeLdSuperByValue() 698 const JSHandle<JSTaggedValue> &value, JSTaggedValue thisFunc) in RuntimeStSuperByValue() 700 ASSERT(thisFunc.IsJSFunction()); in RuntimeStSuperByValue() 702 JSHandle<JSTaggedValue> homeObject(thread, JSFunction::Cast(thisFunc.GetTaggedObject())->GetHomeObject()); in RuntimeStSuperByValue() 678 RuntimeLdSuperByValue(JSThread *thread, const JSHandle<JSTaggedValue> &obj, const JSHandle<JSTaggedValue> &key, JSTaggedValue thisFunc) RuntimeLdSuperByValue() argument 696 RuntimeStSuperByValue(JSThread *thread, const JSHandle<JSTaggedValue> &obj, const JSHandle<JSTaggedValue> &key, const JSHandle<JSTaggedValue> &value, JSTaggedValue thisFunc) RuntimeStSuperByValue() argument
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
H A D | call_stub_builder.h | 49 GateRef thisFunc;
member
|
H A D | call_stub_builder.cpp | 633 callArgs_.superCallArgs.thisFunc,
in PrepareAppendArgsForNative() 639 callArgs_.superCallArgs.thisFunc,
in PrepareAppendArgsForNative()
|
H A D | interpreter_stub.cpp | 1529 GateRef thisFunc = acc;
in DECLARE_ASM_HANDLER() local 1531 GateRef superCtor = GetPrototype(glue, thisFunc);
in DECLARE_ASM_HANDLER() 1568 callArgs.superCallArgs = { thisFunc, array, ZExtInt32ToPtr(argvLen), elementsPtr, *thisObj, newTarget };
in DECLARE_ASM_HANDLER() 1576 res = CallRuntime(glue, RTSTUB_ID(SuperCallSpread), { thisFunc, array });
in DECLARE_ASM_HANDLER() 1868 // acc is value, sp for thisFunc
in DECLARE_ASM_HANDLER() 1879 // acc is value, sp for thisFunc
in DECLARE_ASM_HANDLER() 3527 GateRef thisFunc = GetFunctionFromFrame(GetFrame(sp));
in DECLARE_ASM_HANDLER() local 3529 GateRef superCtor = GetPrototype(glue, thisFunc);
in DECLARE_ASM_HANDLER() 3565 thisFunc, Int16ToTaggedInt(v0), ZExtInt32ToPtr(actualNumArgs), argv, *thisObj, newTarget
in DECLARE_ASM_HANDLER() 3574 { thisFunc, Int16ToTaggedIn in DECLARE_ASM_HANDLER() 6012 GateRef thisFunc = GetVregValue(sp, ZExtInt8ToPtr(ReadInst8_1(pc))); DECLARE_ASM_HANDLER() local [all...] |
H A D | native_inline_lowering.cpp | 1418 GateRef thisFunc = acc_.GetValueIn(gate, 0); in TryInlineFunctionPrototypeApply() local 1421 GateRef ret = builder_.BuildControlDependOp(circuit_->FunctionPrototypeApply(), { thisFunc, thisArg, argArray }); in TryInlineFunctionPrototypeApply() 1463 std::vector<GateRef> args(argc + 1); // 1: thisFunc in TryInlineFunctionPrototypeCall()
|
H A D | typed_native_inline_lowering.cpp | 2802 GateRef thisFunc = acc_.GetValueIn(gate, 0); in LowerFunctionPrototypeApply() local 2806 { thisFunc, thisArg, argArray }, gate); in LowerFunctionPrototypeApply()
|
/arkcompiler/ets_runtime/ecmascript/compiler/baseline/ |
H A D | baseline_stubs.cpp | 1408 GateRef thisFunc = GetFunctionFromFrame(frame); in GenerateCircuit() local 1410 GateRef superCtor = GetPrototype(glue, thisFunc); in GenerateCircuit() 1450 thisFunc, Int16ToTaggedInt(v0), ZExtInt32ToPtr(actualNumArgs), argv, *thisObj, newTarget in GenerateCircuit() 1462 { thisFunc, Int16ToTaggedInt(v0), Int16ToTaggedInt(range) }); in GenerateCircuit() 1639 GateRef thisFunc = GetVregValue(sp, ZExtInt32ToPtr(v0)); in GenerateCircuit() local 1643 GateRef res = CallRuntime(glue, RTSTUB_ID(SuperCallForwardAllArgs), { thisFunc }); in GenerateCircuit() 2404 GateRef result = CallRuntime(glue, RTSTUB_ID(LdSuperByValue), { receiver, acc }); // sp for thisFunc in GenerateCircuit() 2415 GateRef result = CallRuntime(glue, RTSTUB_ID(LdSuperByValue), { receiver, acc }); // sp for thisFunc in GenerateCircuit() 2428 // acc is value, sp for thisFunc in GenerateCircuit() 2442 // acc is value, sp for thisFunc in GenerateCircuit() [all...] |