/arkcompiler/ets_runtime/ecmascript/compiler/ |
H A D | interpreter_stub.cpp | 3349 GateRef currentFunc = GetFunctionFromFrame(GetFrame(sp));
in DECLARE_ASM_HANDLER() local 3350 GateRef res = CallRuntime(glue, RTSTUB_ID(DynamicImport), { specifier, currentFunc });
in DECLARE_ASM_HANDLER() 3358 GateRef currentFunc = GetFunctionFromFrame(GetFrame(sp));
in DECLARE_ASM_HANDLER() local 3359 GateRef res = CallRuntime(glue, RTSTUB_ID(DynamicImport), { specifier, currentFunc });
in DECLARE_ASM_HANDLER() 3606 GateRef currentFunc = GetFunctionFromFrame(GetFrame(sp));
in DECLARE_ASM_HANDLER() local 3608 { currentFunc, Int16ToTaggedInt(v0), Int16ToTaggedInt(range) });
in DECLARE_ASM_HANDLER() 3926 GateRef currentFunc = GetFunctionFromFrame(GetFrame(sp));
in DECLARE_ASM_HANDLER() local 3927 GateRef module = GetModuleFromFunction(currentFunc);
in DECLARE_ASM_HANDLER() 3937 GateRef currentFunc = GetFunctionFromFrame(GetFrame(sp));
in DECLARE_ASM_HANDLER() local 3938 GateRef module = GetModuleFromFunction(currentFunc);
in DECLARE_ASM_HANDLER() 3948 GateRef currentFunc = GetFunctionFromFrame(GetFrame(sp)); DECLARE_ASM_HANDLER() local 3961 GateRef currentFunc = GetFunctionFromFrame(GetFrame(sp)); DECLARE_ASM_HANDLER() local 4097 GateRef currentFunc = GetFunctionFromFrame(GetFrame(sp)); DECLARE_ASM_HANDLER() local 4134 GateRef currentFunc = GetFunctionFromFrame(GetFrame(sp)); DECLARE_ASM_HANDLER() local 4173 GateRef currentFunc = GetFunctionFromFrame(GetFrame(sp)); DECLARE_ASM_HANDLER() local 4528 GateRef currentFunc = GetFunctionFromFrame(GetFrame(sp)); DECLARE_ASM_HANDLER() local 4540 GateRef currentFunc = GetFunctionFromFrame(GetFrame(sp)); DECLARE_ASM_HANDLER() local 4552 GateRef currentFunc = GetFunctionFromFrame(GetFrame(sp)); DECLARE_ASM_HANDLER() local 4564 GateRef currentFunc = GetFunctionFromFrame(GetFrame(sp)); DECLARE_ASM_HANDLER() local 4577 GateRef currentFunc = GetFunctionFromFrame(GetFrame(sp)); DECLARE_ASM_HANDLER() local 4590 GateRef currentFunc = GetFunctionFromFrame(GetFrame(sp)); DECLARE_ASM_HANDLER() local 4826 GateRef currentFunc = GetFunctionFromFrame(frame); DECLARE_ASM_HANDLER() local 4879 GateRef currentFunc = GetFunctionFromFrame(frame); DECLARE_ASM_HANDLER() local 5213 GateRef currentFunc = GetFunctionFromFrame(GetFrame(sp)); DECLARE_ASM_HANDLER() local 5490 GateRef currentFunc = GetFunctionFromFrame(frame); DECLARE_ASM_HANDLER() local 5519 GateRef currentFunc = GetFunctionFromFrame(frame); DECLARE_ASM_HANDLER() local 5601 GateRef currentFunc = GetFunctionFromFrame(GetFrame(sp)); DECLARE_ASM_HANDLER() local 5648 GateRef currentFunc = GetFunctionFromFrame(GetFrame(sp)); DECLARE_ASM_HANDLER() local 5684 GateRef currentFunc = GetFunctionFromFrame(GetFrame(sp)); DECLARE_ASM_HANDLER() local 5705 GateRef currentFunc = GetFunctionFromFrame(GetFrame(sp)); DECLARE_ASM_HANDLER() local 5730 GateRef currentFunc = GetFunctionFromFrame(GetFrame(sp)); DECLARE_ASM_HANDLER() local 5747 GateRef currentFunc = GetFunctionFromFrame(GetFrame(sp)); DECLARE_ASM_HANDLER() local 5760 GateRef currentFunc = GetFunctionFromFrame(GetFrame(sp)); DECLARE_ASM_HANDLER() local 5787 GateRef currentFunc = GetFunctionFromFrame(GetFrame(sp)); DECLARE_ASM_HANDLER() local 5814 GateRef currentFunc = GetFunctionFromFrame(GetFrame(sp)); DECLARE_ASM_HANDLER() local 5841 GateRef currentFunc = GetFunctionFromFrame(GetFrame(sp)); DECLARE_ASM_HANDLER() local 5871 GateRef currentFunc = GetFunctionFromFrame(GetFrame(sp)); DECLARE_ASM_HANDLER() local 5901 GateRef currentFunc = GetFunctionFromFrame(GetFrame(sp)); DECLARE_ASM_HANDLER() local 5928 GateRef currentFunc = GetFunctionFromFrame(GetFrame(sp)); DECLARE_ASM_HANDLER() local 5948 GateRef currentFunc = GetFunctionFromFrame(GetFrame(sp)); DECLARE_ASM_HANDLER() local 5967 GateRef currentFunc = GetFunctionFromFrame(GetFrame(sp)); DECLARE_ASM_HANDLER() local 5988 GateRef currentFunc = GetFunctionFromFrame(GetFrame(sp)); DECLARE_ASM_HANDLER() local [all...] |
H A D | interpreter_stub-inl.h | 336 GateRef currentFunc = GetFunctionFromFrame(GetFrame(sp)); in GetModule() local 337 return GetModuleFromFunction(currentFunc); in GetModule()
|
/arkcompiler/ets_runtime/ecmascript/module/ |
H A D | js_module_manager.h | 49 JSTaggedValue GetModuleNamespace(int32_t index, JSTaggedValue currentFunc); 60 JSTaggedValue GetModuleNamespace(JSTaggedValue localName, JSTaggedValue currentFunc);
|
H A D | js_module_manager.cpp | 41 JSTaggedValue currentFunc = frameHandler.GetFunction(); in GetCurrentModule() local 42 JSTaggedValue module = JSFunction::Cast(currentFunc.GetTaggedObject())->GetModule(); in GetCurrentModule() 601 JSTaggedValue ModuleManager::GetModuleNamespace(int32_t index, JSTaggedValue currentFunc) in GetModuleNamespace() argument 603 JSTaggedValue currentModule = JSFunction::Cast(currentFunc.GetTaggedObject())->GetModule(); in GetModuleNamespace() 656 JSTaggedValue ModuleManager::GetModuleNamespace(JSTaggedValue localName, JSTaggedValue currentFunc) in GetModuleNamespace() argument 658 JSTaggedValue currentModule = JSFunction::Cast(currentFunc.GetTaggedObject())->GetModule(); in GetModuleNamespace()
|
/arkcompiler/ets_frontend/ets2panda/checker/ets/ |
H A D | function.cpp | 1025 for (ir::MethodDefinition *const currentFunc : method->Overloads()) { in BuildMethodSignature() 1026 currentFunc->Function()->Id()->SetVariable(currentFunc->Id()->Variable()); in BuildMethodSignature() 1027 BuildFunctionSignature(currentFunc->Function(), isConstructSig); in BuildMethodSignature() 1028 if (currentFunc->Function()->Signature() == nullptr) { in BuildMethodSignature() 1031 auto *const overloadType = BuildNamedFunctionType(currentFunc->Function()); in BuildMethodSignature() 1032 CheckIdenticalOverloads(funcType, overloadType, currentFunc); in BuildMethodSignature() 1033 currentFunc->SetTsType(overloadType); in BuildMethodSignature() 1034 funcType->AddCallSignature(currentFunc->Function()->Signature()); in BuildMethodSignature() 1051 const ir::MethodDefinition *const currentFunc) in CheckIdenticalOverloads() 1050 CheckIdenticalOverloads(ETSFunctionType *func, ETSFunctionType *overload, const ir::MethodDefinition *const currentFunc) CheckIdenticalOverloads() argument [all...] |
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/src/ |
H A D | mir_builder.cpp | 140 MIRFunction *currentFunc = GetCurrentFunction(); in GetOrCreateLocalDecl() local 141 CHECK_FATAL(currentFunc != nullptr, "null ptr check"); in GetOrCreateLocalDecl() 142 return GetOrCreateDeclInFunc(str, type, *currentFunc); in GetOrCreateLocalDecl()
|
/arkcompiler/ets_runtime/ecmascript/compiler/baseline/ |
H A D | baseline_stub_builder.h | 174 GateRef currentFunc = GetFunctionFromFrame(GetFrame(sp)); in GetModule() local 175 return GetModuleFromFunction(currentFunc); in GetModule()
|
H A D | baseline_stubs-inl.h | 202 GateRef currentFunc = GetFunctionFromFrame(GetFrame(sp));
in GetModule() local 203 return GetModuleFromFunction(currentFunc);
in GetModule()
|
H A D | baseline_stubs.cpp | 1520 GateRef currentFunc = GetFunctionFromFrame(frame); in GenerateCircuit() local 1521 SetModuleToFunction(glue, result, GetModuleFromFunction(currentFunc)); in GenerateCircuit() 1522 SetHomeObjectToFunction(glue, result, GetHomeObjectFromFunction(currentFunc)); in GenerateCircuit() 1550 GateRef currentFunc = GetFunctionFromFrame(frame); in GenerateCircuit() local 1551 SetModuleToFunction(glue, result, GetModuleFromFunction(currentFunc)); in GenerateCircuit() 1552 SetHomeObjectToFunction(glue, result, GetHomeObjectFromFunction(currentFunc)); in GenerateCircuit() 2009 GateRef currentFunc = GetFunctionFromFrame(frame); in GenerateCircuit() local 2010 GateRef res = CallRuntime(glue, RTSTUB_ID(DynamicImport), { acc, currentFunc }); in GenerateCircuit() 2026 GateRef currentFunc = GetFunctionFromFrame(frame); in GenerateCircuit() local 2027 GateRef method = GetMethodFromFunction(currentFunc); in GenerateCircuit() 3776 GateRef currentFunc = GetFunctionFromFrame(frame); GenerateCircuit() local 4162 GateRef currentFunc = GetFunctionFromFrame(frame); GenerateCircuit() local 4727 GateRef currentFunc = GetFunctionFromFrame(frame); GenerateCircuit() local 5379 GateRef currentFunc = GetFunctionFromFrame(GetFrame(sp)); GenerateCircuit() local 5561 GateRef currentFunc = GetFunctionFromFrame(frame); GenerateCircuit() local [all...] |
/arkcompiler/ets_runtime/ecmascript/interpreter/ |
H A D | slow_runtime_stub.cpp | 985 JSTaggedValue SlowRuntimeStub::DynamicImport(JSThread *thread, JSTaggedValue specifier, JSTaggedValue currentFunc) in DynamicImport() argument 991 JSHandle<JSTaggedValue> currentFuncHandle(thread, currentFunc); in DynamicImport()
|
H A D | interpreter-inl.cpp | 4975 JSFunction *currentFunc = JSFunction::Cast((GET_FRAME(sp)->function).GetTaggedObject()); in RunInternal() local 4977 auto res = SlowRuntimeStub::DefineFunc(thread, constpool, methodId, currentFunc->GetModule(), in RunInternal() 4978 length, envHandle, currentFunc->GetHomeObject()); in RunInternal() 4998 JSFunction *currentFunc = JSFunction::Cast((GET_FRAME(sp)->function).GetTaggedObject()); in RunInternal() local 5000 auto res = SlowRuntimeStub::DefineFunc(thread, constpool, methodId, currentFunc->GetModule(), in RunInternal() 5001 length, envHandle, currentFunc->GetHomeObject()); in RunInternal() 7904 JSFunction *currentFunc = JSFunction::Cast((GET_FRAME(sp)->function).GetTaggedObject()); in GetEcmaModule() local 7905 return currentFunc->GetModule(); in GetEcmaModule()
|
H A D | interpreter_assembly.cpp | 6962 JSFunction *currentFunc = 6966 length, envHandle, currentFunc->GetHomeObject()); 6984 JSFunction *currentFunc = 6988 length, envHandle, currentFunc->GetHomeObject());
|
/arkcompiler/ets_frontend/ets2panda/checker/ |
H A D | ETSchecker.h | 448 const ir::MethodDefinition *currentFunc);
|
/arkcompiler/ets_runtime/ecmascript/stubs/ |
H A D | runtime_stubs-inl.h | 861 JSTaggedValue currentFunc = frameHandler.GetFunction(); in RuntimeResolveClass() local 862 JSHandle<JSTaggedValue> ecmaModule(thread, JSFunction::Cast(currentFunc.GetTaggedObject())->GetModule()); in RuntimeResolveClass()
|
H A D | runtime_stubs.cpp | 2714 JSHandle<JSTaggedValue> currentFunc = GetHArg<JSTaggedValue>(argv, argc, 1); // 1: means the zeroth parameter in DEF_RUNTIME_STUBS() local 2715 return RuntimeDynamicImport(thread, specifier, currentFunc).GetRawData(); in DEF_RUNTIME_STUBS()
|