/arkcompiler/ets_runtime/ecmascript/ |
D | js_function.h | 29 class JSFunctionBase : public JSObject { 31 CAST_CHECK(JSFunctionBase, IsJSFunctionBase); 39 static bool SetFunctionName(JSThread *thread, const JSHandle<JSFunctionBase> &func, 41 …static JSHandle<JSTaggedValue> GetFunctionName(JSThread *thread, const JSHandle<JSFunctionBase> &f… 69 static_assert((JSFunctionBase::SIZE % static_cast<uint8_t>(MemAlignment::MEM_ALIGN_OBJECT)) == 0); 70 static_assert(JSFunctionBase::METHOD_OFFSET == JSProxy::METHOD_OFFSET); 72 class JSFunction : public JSFunctionBase { 227 static constexpr size_t PROTO_OR_DYNCLASS_OFFSET = JSFunctionBase::SIZE; 234 DECL_VISIT_OBJECT_FOR_JS_OBJECT(JSFunctionBase, PROTO_OR_DYNCLASS_OFFSET, SIZE) 255 class JSBoundFunction : public JSFunctionBase { [all …]
|
D | js_function.cpp | 478 JSHandle<JSTaggedValue> JSFunctionBase::GetFunctionName(JSThread *thread, const JSHandle<JSFunction… in GetFunctionName() 485 bool JSFunctionBase::SetFunctionName(JSThread *thread, const JSHandle<JSFunctionBase> &func, in SetFunctionName()
|
D | object_factory.h | 40 class JSFunctionBase; variable
|
D | dump.cpp | 682 JSFunctionBase::Cast(obj)->Dump(os); in DumpObject() 3629 void JSFunctionBase::Dump(std::ostream &os) const in Dump()
|
D | js_object.cpp | 67 value = JSFunctionBase::ConstCast(obj)->GetMethod(); in GetCallTarget()
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
D | profiler_stub_builder.cpp | 62 GateRef method = Load(VariableType::JS_ANY(), func, IntPtr(JSFunctionBase::METHOD_OFFSET)); in ProfileOpType() 97 … GateRef method = Load(VariableType::JS_ANY(), func, IntPtr(JSFunctionBase::METHOD_OFFSET)); in ProfileOpType() 115 GateRef method = Load(VariableType::JS_ANY(), func, IntPtr(JSFunctionBase::METHOD_OFFSET)); in ProfileDefineClass() 158 GateRef method = Load(VariableType::JS_ANY(), func, IntPtr(JSFunctionBase::METHOD_OFFSET)); in ProfileCreateObject() 179 GateRef method = Load(VariableType::JS_ANY(), func, IntPtr(JSFunctionBase::METHOD_OFFSET)); in ProfileObjLayout() 209 … GateRef method = Load(VariableType::JS_ANY(), func, IntPtr(JSFunctionBase::METHOD_OFFSET)); in ProfileCall()
|
D | interpreter_stub.cpp | 2321 IntPtr(JSFunctionBase::METHOD_OFFSET)); in DECLARE_ASM_HANDLER() 2349 … GateRef method = Load(VariableType::JS_ANY(), function, IntPtr(JSFunctionBase::METHOD_OFFSET)); in DECLARE_ASM_HANDLER() 2384 IntPtr(JSFunctionBase::METHOD_OFFSET)); in DECLARE_ASM_HANDLER() 2413 … GateRef method = Load(VariableType::JS_ANY(), function, IntPtr(JSFunctionBase::METHOD_OFFSET)); in DECLARE_ASM_HANDLER() 2460 IntPtr(JSFunctionBase::METHOD_OFFSET)); in DECLARE_ASM_HANDLER() 2488 … GateRef method = Load(VariableType::JS_ANY(), function, IntPtr(JSFunctionBase::METHOD_OFFSET)); in DECLARE_ASM_HANDLER() 2534 IntPtr(JSFunctionBase::METHOD_OFFSET)); in DECLARE_ASM_HANDLER() 2562 … GateRef method = Load(VariableType::JS_ANY(), function, IntPtr(JSFunctionBase::METHOD_OFFSET)); in DECLARE_ASM_HANDLER() 2866 IntPtr(JSFunctionBase::METHOD_OFFSET)); in DECLARE_ASM_HANDLER() 2894 … GateRef method = Load(VariableType::JS_ANY(), function, IntPtr(JSFunctionBase::METHOD_OFFSET)); in DECLARE_ASM_HANDLER() [all …]
|
D | stub_builder-inl.h | 300 … GateRef method = Load(VariableType::JS_ANY(), function, IntPtr(JSFunctionBase::METHOD_OFFSET)); in SaveHotnessCounterIfNeeded() 2165 methodOffset = IntPtr(JSFunctionBase::METHOD_OFFSET); in GetMethodFromJSFunction() 2438 GateRef method = Load(VariableType::JS_ANY(), jsFunc, IntPtr(JSFunctionBase::METHOD_OFFSET)); in LoadPfHeaderFromConstPool()
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
D | js_function_test.cpp | 166 …JSFunction::SetFunctionName(thread, JSHandle<JSFunctionBase>(jsFunction), JSHandle<JSTaggedValue>(… in HWTEST_F_L0() 168 JSFunctionBase::GetFunctionName(thread, JSHandle<JSFunctionBase>(jsFunction)); in HWTEST_F_L0()
|
D | dump_test.cpp | 444 CHECK_DUMP_FIELDS(JSObject::SIZE, JSFunctionBase::SIZE, 1U); in HWTEST_F_L0() 448 CHECK_DUMP_FIELDS(JSFunctionBase::SIZE, JSFunction::SIZE, 4U); in HWTEST_F_L0() 544 CHECK_DUMP_FIELDS(JSFunctionBase::SIZE, JSBoundFunction::SIZE, 3U); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/jspandafile/tests/ |
D | panda_file_translator_test.cpp | 91 …JSHandle<JSTaggedValue> funcName1 = JSFunction::GetFunctionName(thread, JSHandle<JSFunctionBase>(m… in HWTEST_F_L0() 97 …JSHandle<JSTaggedValue> funcName2 = JSFunction::GetFunctionName(thread, JSHandle<JSFunctionBase>(m… in HWTEST_F_L0()
|
D | js_pandafile_manager_test.cpp | 271 …JSHandle<JSTaggedValue> funcName = JSFunction::GetFunctionName(thread, JSHandle<JSFunctionBase>(ma… in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/patch/ |
D | patch_loader.cpp | 177 JSFunctionBase *func = JSFunctionBase::Cast(value.GetTaggedObject()); in UnloadPatchInternal() 282 JSFunctionBase *func = JSFunctionBase::Cast(literalItem.GetTaggedObject()); in FindAndReplaceSameMethod()
|
/arkcompiler/ets_runtime/ecmascript/compiler/trampoline/x64/ |
D | optimized_fast_call.cpp | 118 __ Mov(Operand(jsFuncReg, JSFunctionBase::METHOD_OFFSET), method); // get method in OptimizedFastCallAndPushUndefined() 264 __ Mov(Operand(jsFuncReg, JSFunctionBase::METHOD_OFFSET), method); // get method in JSFastCallWithArgV() 379 __ Mov(Operand(jsFuncReg, JSFunctionBase::METHOD_OFFSET), method); // get method in JSFastCallWithArgVAndPushUndefined()
|
D | optimized_call.cpp | 125 __ Mov(Operand(jsFuncReg, JSFunctionBase::METHOD_OFFSET), method); // get method in OptimizedCallAndPushUndefined() 353 __ Mov(Operand(jsFuncReg, JSFunctionBase::METHOD_OFFSET), method); // get method in GenJSCall() 392 __ Mov(Operand(jsFuncReg, JSFunctionBase::METHOD_OFFSET), method); // get method in GenJSCall() 831 __ Movq(Operand(jsfunc, JSFunctionBase::METHOD_OFFSET), tmp); in PushArgsWithArgV() 1037 __ Mov(Operand(jsFuncReg, JSFunctionBase::METHOD_OFFSET), method); // get method in CallOptimized() 1090 __ Movq(Operand(callTargetRegister, JSFunctionBase::METHOD_OFFSET), methodRegister); in DeoptEnterAsmInterp()
|
D | asm_interpreter_call.cpp | 94 __ Movq(Operand(callTargetRegister, JSFunctionBase::METHOD_OFFSET), methodRegister); in GeneratorReEnterAsmInterpDispatch() 1025 __ Movq(Operand(temp, JSFunctionBase::METHOD_OFFSET), temp); in ResumeRspAndDispatch()
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
D | builtins_function.cpp | 228 …status = JSFunction::SetFunctionName(thread, JSHandle<JSFunctionBase>(boundFunction), emptyString,… in FunctionPrototypeBind() 230 …status = JSFunction::SetFunctionName(thread, JSHandle<JSFunctionBase>(boundFunction), targetName, … in FunctionPrototypeBind()
|
D | builtins.cpp | 479 …JSFunction::SetFunctionName(thread_, JSHandle<JSFunctionBase>(funcFuncPrototype), emptyString, und… in InitializeFunction() 1028 JSFunction::SetFunctionName(thread_, JSHandle<JSFunctionBase>(ctor), nameString, in InitializeExoticConstructor() 1285 JSFunction::SetFunctionName(thread_, JSHandle<JSFunctionBase>(ctor), nameString, in InitializeCtor() 2947 JSFunction::SetFunctionName(thread_, JSHandle<JSFunctionBase>(ctor), nameString, in NewBuiltinCjsCtor() 2963 JSHandle<JSFunctionBase> baseFunction(function); in NewFunction() 3006 JSHandle<JSFunctionBase> baseFunction(function); in SetFunctionAtSymbol() 3041 JSFunction::SetFunctionName(thread_, JSHandle<JSFunctionBase>(function), funcName, prefix); in CreateGetter() 3052 JSFunction::SetFunctionName(thread_, JSHandle<JSFunctionBase>(function), funcName, prefix); in CreateSetter() 3106 JSHandle<JSFunctionBase> baseFunction(function); in SetFuncToObjAndGlobal() 3346 JSFunction::SetFunctionName(thread_, JSHandle<JSFunctionBase>(ctor), nameString, in ITERATE_INTL()
|
/arkcompiler/ets_runtime/ecmascript/builtins/tests/ |
D | builtins_function_test.cpp | 171 JSFunction::SetFunctionName(thread, JSHandle<JSFunctionBase>(target), in HWTEST_F_L0() 217 JSFunction::SetFunctionName(thread, JSHandle<JSFunctionBase>(target), in HWTEST_F_L0() 438 JSHandle<JSFunctionBase> baseFunction(func); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/stubs/ |
D | runtime_stubs-inl.h | 1005 JSFunctionBase::SetFunctionName(thread, JSHandle<JSFunctionBase>::Cast(value), propKey, in RuntimeStOwnByValueWithNameSet() 1046 JSFunctionBase::SetFunctionName(thread, JSHandle<JSFunctionBase>::Cast(valueHandle), propKey, in RuntimeStOwnByNameWithNameSet() 2058 JSFunctionBase::SetFunctionName(thread, JSHandle<JSFunctionBase>::Cast(getter), propKey, in RuntimeDefineGetterSetterByValue() 2067 JSFunctionBase::SetFunctionName(thread, JSHandle<JSFunctionBase>::Cast(setter), propKey, in RuntimeDefineGetterSetterByValue()
|
/arkcompiler/ets_runtime/ecmascript/containers/ |
D | containers_private.cpp | 180 JSFunction::SetFunctionName(thread, JSHandle<JSFunctionBase>(ctor), nameString, in NewContainerConstructor() 221 JSHandle<JSFunctionBase> baseFunction(function); in NewFunction() 235 JSFunction::SetFunctionName(thread, JSHandle<JSFunctionBase>(function), funcName, prefix); in CreateGetter() 257 JSHandle<JSFunctionBase> baseFunction(function); in SetFunctionAtSymbol()
|
/arkcompiler/ets_runtime/ecmascript/mem/ |
D | object_xray.h | 149 auto jsFunctionBase = JSFunctionBase::Cast(object); in VisitObjectBody()
|
/arkcompiler/ets_runtime/ecmascript/napi/ |
D | jsnapi.cpp | 124 using ecmascript::JSFunctionBase; 1822 JSHandle<JSFunctionBase> func(thread, JSNApiHelper::ToJSTaggedValue(this)); in GetName() 1823 JSHandle<JSTaggedValue> name = JSFunctionBase::GetFunctionName(thread, func); in GetName() 1833 JSHandle<JSFunctionBase> func(thread, JSNApiHelper::ToJSTaggedValue(this)); in GetSourceCode() 1869 JSHandle<JSFunctionBase> func(thread, JSNApiHelper::ToJSTaggedValue(this)); in IsNative()
|
/arkcompiler/ets_runtime/ecmascript/compiler/trampoline/aarch64/ |
D | asm_interpreter_call.cpp | 728 __ Ldr(temp, MemoryOperand(temp, JSFunctionBase::METHOD_OFFSET)); in ResumeRspAndDispatch() 945 __ Ldr(method, MemoryOperand(callTarget, JSFunctionBase::METHOD_OFFSET)); in GeneratorReEnterAsmInterpDispatch()
|
D | optimized_call.cpp | 1086 __ Ldr(methodRegister, MemoryOperand(callTargetRegister, JSFunctionBase::METHOD_OFFSET)); in DeoptEnterAsmInterp()
|