Home
last modified time | relevance | path

Searched full:methodhandle (Results 1 – 25 of 36) sorted by relevance

12

/arkcompiler/runtime_core/tests/cts-generator/cts-template/
Dcalle.polymorphic.short.yaml27 .record panda.invoke.MethodHandle <external>
35 ….function panda.invoke.MethodHandle panda.invoke.MethodHandles$Lookup.findStatic(panda.invoke.Meth…
36 ….function panda.invoke.MethodHandle panda.invoke.MethodHandles$Lookup.findVirtual(panda.invoke.Met…
76 … .function i32 panda.invoke.MethodHandle.invokeExact(panda.invoke.MethodHandle a0, R a1) <external>
82 - 'panda.invoke.MethodHandle.invokeExact, v16, v2'
84 - 'panda.invoke.MethodHandle.invokeExact, v1, v16'
86 - 'panda.invoke.MethodHandle.invokeExact, v15, v14'
101 … .function i32 panda.invoke.MethodHandle.invokeExact(panda.invoke.MethodHandle a0, R a1) <external>
104 calle.polymorphic.short panda.invoke.MethodHandle.invokeExact, v1, v2
136 … .function i32 panda.invoke.MethodHandle.invokeExact(panda.invoke.MethodHandle a0, R a1) <external>
[all …]
Dcall.polymorphic.short.yaml27 .record panda.invoke.MethodHandle <external>
36 ….function panda.invoke.MethodHandle panda.invoke.MethodHandles$Lookup.findStatic(panda.invoke.Meth…
37 ….function panda.invoke.MethodHandle panda.invoke.MethodHandles$Lookup.findVirtual(panda.invoke.Met…
86 … .function i32 panda.invoke.MethodHandle.invoke(panda.invoke.MethodHandle a0, R a1) <external>
92 - 'panda.invoke.MethodHandle.invoke, v16, v2'
94 - 'panda.invoke.MethodHandle.invoke, v1, v16'
96 - 'panda.invoke.MethodHandle.invoke, v1, v2'
111 … .function i32 panda.invoke.MethodHandle.invoke(panda.invoke.MethodHandle a0, R a1) <external>
114 call.polymorphic.short panda.invoke.MethodHandle.invoke, v1, v2
146 … .function i32 panda.invoke.MethodHandle.invoke(panda.invoke.MethodHandle a0, R a1) <external>
[all …]
Dcall.polymorphic.range.yaml27 .record panda.invoke.MethodHandle <external>
36 ….function panda.invoke.MethodHandle panda.invoke.MethodHandles$Lookup.findStatic(panda.invoke.Meth…
37 ….function panda.invoke.MethodHandle panda.invoke.MethodHandles$Lookup.findVirtual(panda.invoke.Met…
86 ….function i32 panda.invoke.MethodHandle.invoke(panda.invoke.MethodHandle a0, R a1, R a2, R a3) <ex…
92 - 'panda.invoke.MethodHandle.invoke, v0, v1, v2, v3'
94 - 'panda.invoke.MethodHandle.invoke, v253'
100 - 'panda.invoke.MethodHandle.invoke, v254'
106 - 'panda.invoke.MethodHandle.invoke, v255'
112 - 'panda.invoke.MethodHandle.invoke, v256'
114 - 'panda.invoke.MethodHandle.invoke, v32768'
[all …]
Dcalle.polymorphic.range.yaml27 .record panda.invoke.MethodHandle <external>
36 ….function panda.invoke.MethodHandle panda.invoke.MethodHandles$Lookup.findStatic(panda.invoke.Meth…
37 ….function panda.invoke.MethodHandle panda.invoke.MethodHandles$Lookup.findVirtual(panda.invoke.Met…
86 ….function i32 panda.invoke.MethodHandle.invokeExact(panda.invoke.MethodHandle a0, R a1, R a2, R a3…
92 - 'panda.invoke.MethodHandle.invokeExact, v0, v1, v2, v3'
94 - 'panda.invoke.MethodHandle.invokeExact, v253'
100 - 'panda.invoke.MethodHandle.invokeExact, v254'
106 - 'panda.invoke.MethodHandle.invokeExact, v255'
112 - 'panda.invoke.MethodHandle.invokeExact, v256'
114 - 'panda.invoke.MethodHandle.invokeExact, v32768'
[all …]
Dcall.polymorphic.yaml27 .record panda.invoke.MethodHandle <external>
36 ….function panda.invoke.MethodHandle panda.invoke.MethodHandles$Lookup.findStatic(panda.invoke.Meth…
37 ….function panda.invoke.MethodHandle panda.invoke.MethodHandles$Lookup.findVirtual(panda.invoke.Met…
86 ….function i32 panda.invoke.MethodHandle.invoke(panda.invoke.MethodHandle a0, R a1, R a2, R a3) <ex…
92 - 'panda.invoke.MethodHandle.invoke, v16, v2, v3, v4'
94 - 'panda.invoke.MethodHandle.invoke, v1, v16, v3, v4'
96 - 'panda.invoke.MethodHandle.invoke, v1, v2, v16, v4'
98 - 'panda.invoke.MethodHandle.invoke, v1, v2, v3, v16'
100 - 'panda.invoke.MethodHandle.invoke, v1, v2, v3, v4'
115 ….function i32 panda.invoke.MethodHandle.invoke(panda.invoke.MethodHandle a0, R a1, R a2, R a3) <ex…
[all …]
Dcalle.polymorphic.yaml27 .record panda.invoke.MethodHandle <external>
36 ….function panda.invoke.MethodHandle panda.invoke.MethodHandles$Lookup.findStatic(panda.invoke.Meth…
37 ….function panda.invoke.MethodHandle panda.invoke.MethodHandles$Lookup.findVirtual(panda.invoke.Met…
86 ….function i32 panda.invoke.MethodHandle.invokeExact(panda.invoke.MethodHandle a0, R a1, R a2, R a3…
92 - 'panda.invoke.MethodHandle.invokeExact, v16, v2, v3, v4'
94 - 'panda.invoke.MethodHandle.invokeExact, v1, v16, v3, v4'
96 - 'panda.invoke.MethodHandle.invokeExact, v1, v2, v16, v4'
98 - 'panda.invoke.MethodHandle.invokeExact, v1, v2, v3, v16'
100 - 'panda.invoke.MethodHandle.invokeExact, v1, v2, v3, v4'
115 ….function i32 panda.invoke.MethodHandle.invokeExact(panda.invoke.MethodHandle a0, R a1, R a2, R a3…
[all …]
/arkcompiler/ets_runtime/ecmascript/debugger/
Dnotification_manager.h89 JSHandle<Method> methodHandle(thread, method); in BytecodePcChangedEvent()
91 it->BytecodePcChanged(thread, methodHandle, bcOffset); in BytecodePcChangedEvent()
97 JSHandle<Method> methodHandle(thread, method); in DebuggerStmtEvent()
99 it->HandleDebuggerStmt(methodHandle, bcOffset); in DebuggerStmtEvent()
132 JSHandle<Method> methodHandle(thread, method); in MethodEntryEvent()
135 it->MethodEntry(methodHandle, envHandle); in MethodEntryEvent()
140 JSHandle<Method> methodHandle(thread, method); in MethodExitEvent()
142 it->MethodExit(methodHandle); in MethodExitEvent()
/arkcompiler/ets_runtime/ecmascript/debugger/tests/
Djs_debugger_test.cpp115 JSHandle<Method> methodHandle; in HWTEST_F_L0() local
119 debugger.MethodEntry(methodHandle, envHandle); in HWTEST_F_L0()
121 bool result = debugger.HandleDebuggerStmt(methodHandle, bcOffsetTest); in HWTEST_F_L0()
128 result = debuggerFriend.HandleBreakpointTest(methodHandle, bcOffsetTest); in HWTEST_F_L0()
131 result = debuggerFriend.HandleStepTest(methodHandle, bcOffsetTest); in HWTEST_F_L0()
/arkcompiler/runtime_core/assembler/
Dassembly-methodhandle.h23 struct MethodHandle { struct
26MethodHandle(std::string s, panda::panda_file::MethodHandleType t) : item_name(std::move(s)), type… in MethodHandle() function
Dassembly-program.h25 #include "assembly-methodhandle.h"
Dassembly-emitter.h236 panda_file::ItemContainer *container, const MethodHandle &mh,
/arkcompiler/runtime_core/static_core/assembler/
Dassembly-methodhandle.h23 struct MethodHandle { struct
26MethodHandle(std::string s, ark::panda_file::MethodHandleType t) : itemName(std::move(s)), type(t)… in MethodHandle() argument
Dassembly-program.h25 #include "assembly-methodhandle.h"
Dassembly-emitter.h268 panda_file::ItemContainer *container, const MethodHandle &mh,
/arkcompiler/runtime_core/static_core/docs/
Dfile_format.md860 …` | `uint32_t` | The value represents an offset to [MethodHandle](#methodhandle). |
1166 ### MethodHandle subsection
1174 | `type` | `uint8_t` | Type of the handle. Must be one of [MethodHandle's type](#…
1175 …he entity is determined depending on the handle's type (see [Types of MethodHandle](#types_of_meth…
1179 #### Types of MethodHandle argument
1185 … | Method handle refers to a static setter. Offset in [MethodHandle](#methodhandle) must p…
1186 … | Method handle refers to a static getter. Offset in [MethodHandle](#methodhandle) must p…
1187 … | Method handle refers to an instance getter. Offset in [MethodHandle](#methodhandle) must p…
1188 … | Method handle refers to an instance setter. Offset in [MethodHandle](#methodhandle) must p…
1189 … | Method handle refers to a static method. Offset in [MethodHandle](#methodhandle) must p…
[all …]
/arkcompiler/runtime_core/docs/
Dfile_format.md737 …` | `uint32_t` | The value represents an offset to [MethodHandle](#methodhandle). |
986 ### MethodHandle subsection
994 | `type` | `uint8_t` | Type of the handle. Must be one of [MethodHandle's type](#…
995 …of the entity is determined depending on handle's type (see [Types of MethodHandle](#types_of_meth…
997 #### Types of MethodHandle argument
1003 … | Method handle refers to a static setter. Offset in [MethodHandle](#methodhandle) must p…
1004 … | Method handle refers to a static getter. Offset in [MethodHandle](#methodhandle) must p…
1005 … | Method handle refers to an instance getter. Offset in [MethodHandle](#methodhandle) must p…
1006 … | Method handle refers to an instance setter. Offset in [MethodHandle](#methodhandle) must p…
1007 … | Method handle refers to a static method. Offset in [MethodHandle](#methodhandle) must p…
[all …]
/arkcompiler/ets_runtime/ecmascript/jit/
Djit_task.cpp287 …JSHandle<Method> methodHandle(hostThread_, Method::Cast(jsFunction_->GetMethod(hostThread_).GetTag… in InstallCode() local
309 machineCode, size, codeDesc_, methodHandle); in InstallCode()
312 size, codeDesc_, methodHandle); in InstallCode()
330 InstallCodeByCompilerTier(machineCodeObj, methodHandle); in InstallCode()
360 JSHandle<Method> &methodHandle) in InstallCodeByCompilerTier() argument
365methodHandle->SetDeoptThreshold(hostThread_->GetEcmaVM()->GetJSOptions().GetDeoptThreshold()); in InstallCodeByCompilerTier()
379methodHandle->SetDeoptThreshold(hostThread_->GetEcmaVM()->GetJSOptions().GetDeoptThreshold()); in InstallCodeByCompilerTier()
Djit_task.h119 JSHandle<Method> &methodHandle);
/arkcompiler/ets_runtime/ecmascript/interpreter/
Dinterpreter-inl.h275 methodHandle.Update(JSTaggedValue(funcObject->GetCallTarget(thread))); \
301 methodHandle.Update(JSTaggedValue(funcObject->GetCallTarget(thread))); \
494 if (methodHandle->IsNativeWithCallField()) { \
500 static_cast<int32_t>(methodHandle->GetNumArgsWithCallField()); \
507 if (!methodHandle->HaveExtraWithCallField()) { \
523 if (methodHandle->IsNativeWithCallField()) { \
529 static_cast<int32_t>(methodHandle->GetNumArgsWithCallField()); \
536 if (!methodHandle->HaveExtraWithCallField()) { \
Dinterpreter-inl.cpp254 methodHandle.Update(JSTaggedValue(funcObject->GetCallTarget(thread))); \
280 methodHandle.Update(JSTaggedValue(funcObject->GetCallTarget(thread))); \
473 if (methodHandle->IsNativeWithCallField()) { \
479 static_cast<int32_t>(methodHandle->GetNumArgsWithCallField()); \
486 if (!methodHandle->HaveExtraWithCallField()) { \
502 if (methodHandle->IsNativeWithCallField()) { \
508 static_cast<int32_t>(methodHandle->GetNumArgsWithCallField()); \
515 if (!methodHandle->HaveExtraWithCallField()) { \
1041 JSMutableHandle<Method> methodHandle(thread, JSTaggedValue::Undefined()); in RunInternal() local
1413 ASSERT(methodHandle->GetNumVregsWithCallField() == 0); // no need to push vregs in RunInternal()
[all …]
Dinterpreter_assembly.cpp3567 JSMutableHandle<Method> methodHandle(thread, JSTaggedValue::Undefined()); in HandleWideSupercallarrowrangePrefImm16V8() local
3582 methodHandle.Update(superCtorFunc->GetMethod(thread)); in HandleWideSupercallarrowrangePrefImm16V8()
3584 ASSERT(methodHandle->GetNumVregsWithCallField() == 0); in HandleWideSupercallarrowrangePrefImm16V8()
3631 if (AssemblyIsFastNewFrameEnter(thread, superCtorFunc, methodHandle)) { in HandleWideSupercallarrowrangePrefImm16V8()
3633 uint32_t numVregs = methodHandle->GetNumVregsWithCallField(); in HandleWideSupercallarrowrangePrefImm16V8()
3635 methodHandle->GetNumArgsWithCallField() + 1 : // +1 for this in HandleWideSupercallarrowrangePrefImm16V8()
3636 methodHandle->GetNumArgsWithCallField() + 2; // +2 for newTarget and this in HandleWideSupercallarrowrangePrefImm16V8()
3668 state->constpool = methodHandle->GetConstantPool(thread); in HandleWideSupercallarrowrangePrefImm16V8()
3688 state->pc = pc = methodHandle->GetBytecodeArray(); in HandleWideSupercallarrowrangePrefImm16V8()
3710 JSMutableHandle<Method> methodHandle(thread, JSTaggedValue::Undefined()); in HandleWideSupercallthisrangePrefImm16V8() local
[all …]
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_function.cpp348 JSHandle<JSTaggedValue> methodHandle(thread, func->GetMethod(thread)); in FunctionPrototypeToString() local
349 method = JSHandle<Method>::Cast(methodHandle); in FunctionPrototypeToString()
/arkcompiler/ets_runtime/ecmascript/
Dobject_factory.h269 JSHandle<JSFunction> NewJSFunction(const JSHandle<Method> &methodHandle);
271 JSHandle<JSFunction> NewJSFunction(const JSHandle<Method> &methodHandle,
843 JSHandle<JSFunction> NewSFunctionByHClass(const JSHandle<Method> &methodHandle,
970 JSHandle<JSFunction> NewJSSendableFunction(const JSHandle<Method> &methodHandle);
Dshared_object_factory.cpp1117 JSHandle<JSFunction> ObjectFactory::NewJSSendableFunction(const JSHandle<Method> &methodHandle) in NewJSSendableFunction() argument
1120 FunctionKind kind = methodHandle->GetFunctionKind(); in NewJSSendableFunction()
1136 JSHandle<JSFunction> func = NewSFunctionByHClass(methodHandle, hclass); in NewJSSendableFunction()
/arkcompiler/ets_runtime/ecmascript/stubs/
Druntime_stubs-inl.h2459 const JSHandle<Method> methodHandle(thread, method); in RuntimeDefinefunc()
2462 if (methodHandle->IsSendableMethod()) { in RuntimeDefinefunc()
2463 result = factory->NewJSSendableFunction(methodHandle); in RuntimeDefinefunc()
2476 result = factory->NewJSFunction(methodHandle); in RuntimeDefinefunc()
2604 …ggedValue RuntimeStubs::RuntimeDefineMethod(JSThread *thread, const JSHandle<Method> &methodHandle, in RuntimeDefineMethod() argument
2610 JSHandle<JSFunction> func = factory->NewJSFunction(methodHandle, homeObject); in RuntimeDefineMethod()
2649 JSHandle<Method> methodHandle(thread, Method::Cast(func->GetMethod(thread))); in RuntimeSetPatchModule()
2651 … MethodLiteral::GetRecordName(methodHandle->GetJSPandaFile(thread), methodHandle->GetMethodId())); in RuntimeSetPatchModule()

12