Home
last modified time | relevance | path

Searched refs:methodHandle (Results 1 – 11 of 11) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/debugger/
Dnotification_manager.h79 JSHandle<Method> methodHandle(thread, method); in BytecodePcChangedEvent()
81 it->BytecodePcChanged(thread, methodHandle, bcOffset); in BytecodePcChangedEvent()
87 JSHandle<Method> methodHandle(thread, method); in DebuggerStmtEvent()
89 it->HandleDebuggerStmt(methodHandle, bcOffset); in DebuggerStmtEvent()
122 JSHandle<Method> methodHandle(thread, method); in MethodEntryEvent()
125 it->MethodEntry(methodHandle, envHandle); in MethodEntryEvent()
130 JSHandle<Method> methodHandle(thread, method); in MethodExitEvent()
132 it->MethodExit(methodHandle); in MethodExitEvent()
/arkcompiler/ets_runtime/ecmascript/jit/
Djit_task.cpp47 …JSHandle<Method> methodHandle(vm_->GetJSThread(), Method::Cast(jsFunction_->GetMethod().GetTaggedO… in InstallCode() local
60 …hineCode> machineCodeObj = vm_->GetFactory()->NewMachineCodeObject(size, &codeDesc_, methodHandle); in InstallCode()
64 methodHandle->SetCompiledFuncEntry(codeAddr, funcEntryDes->isFastCall_); in InstallCode()
65 methodHandle->SetDeoptThreshold(vm_->GetJSOptions().GetDeoptThreshold()); in InstallCode()
66 methodHandle->SetMachineCode(vm_->GetJSThread(), machineCodeObj); in InstallCode()
/arkcompiler/ets_runtime/ecmascript/interpreter/
Dinterpreter-inl.h271 methodHandle.Update(JSTaggedValue(funcObject->GetCallTarget())); \
293 methodHandle.Update(JSTaggedValue(funcObject->GetCallTarget())); \
486 if (methodHandle->IsNativeWithCallField()) { \
492 static_cast<int32_t>(methodHandle->GetNumArgsWithCallField()); \
499 if (!methodHandle->HaveExtraWithCallField()) { \
515 if (methodHandle->IsNativeWithCallField()) { \
521 static_cast<int32_t>(methodHandle->GetNumArgsWithCallField()); \
528 if (!methodHandle->HaveExtraWithCallField()) { \
1010 JSMutableHandle<Method> methodHandle(thread, JSTaggedValue::Undefined()); in RunInternal()
1382 ASSERT(methodHandle->GetNumVregsWithCallField() == 0); // no need to push vregs in RunInternal()
[all …]
Dinterpreter_assembly.cpp3478 JSMutableHandle<Method> methodHandle(thread, JSTaggedValue::Undefined()); in HandleWideSupercallarrowrangePrefImm16V8() local
3493 methodHandle.Update(superCtorFunc->GetMethod()); in HandleWideSupercallarrowrangePrefImm16V8()
3495 ASSERT(methodHandle->GetNumVregsWithCallField() == 0); in HandleWideSupercallarrowrangePrefImm16V8()
3531 const_cast<void *>(methodHandle->GetNativePointer()))(ecmaRuntimeCallInfo); in HandleWideSupercallarrowrangePrefImm16V8()
3542 if (AssemblyIsFastNewFrameEnter(superCtorFunc, methodHandle)) { in HandleWideSupercallarrowrangePrefImm16V8()
3544 uint32_t numVregs = methodHandle->GetNumVregsWithCallField(); in HandleWideSupercallarrowrangePrefImm16V8()
3546 methodHandle->GetNumArgsWithCallField() + 1 : // +1 for this in HandleWideSupercallarrowrangePrefImm16V8()
3547 methodHandle->GetNumArgsWithCallField() + 2; // +2 for newTarget and this in HandleWideSupercallarrowrangePrefImm16V8()
3579 state->constpool = methodHandle->GetConstantPool(); in HandleWideSupercallarrowrangePrefImm16V8()
3580 state->profileTypeInfo = methodHandle->GetProfileTypeInfo(); in HandleWideSupercallarrowrangePrefImm16V8()
[all …]
Dslow_runtime_stub.cpp1029 JSHandle<Method> methodHandle(thread, method); in DefineMethod() local
1032 …return RuntimeStubs::RuntimeDefineMethod(thread, methodHandle, homeObjectHandle, length, envHandle… in DefineMethod()
1088 JSHandle<Method> methodHandle(thread, method); in NotifyInlineCache() local
1089 uint32_t slotSize = methodHandle->GetSlotSize(); in NotifyInlineCache()
1090 return RuntimeStubs::RuntimeNotifyInlineCache(thread, methodHandle, slotSize); in NotifyInlineCache()
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_function.cpp327 JSHandle<JSTaggedValue> methodHandle(thread, func->GetMethod()); in FunctionPrototypeToString() local
328 method = JSHandle<Method>::Cast(methodHandle); in FunctionPrototypeToString()
331 JSHandle<JSTaggedValue> methodHandle(thread, func->GetMethod()); in FunctionPrototypeToString() local
332 method = JSHandle<Method>::Cast(methodHandle); in FunctionPrototypeToString()
/arkcompiler/ets_runtime/ecmascript/
Dobject_factory.h239 JSHandle<JSFunction> NewJSFunction(const JSHandle<Method> &methodHandle);
241 JSHandle<JSFunction> NewJSFunction(const JSHandle<Method> &methodHandle,
781 JSHandle<JSFunction> NewSFunction(const JSHandle<Method> &methodHandle,
785 JSHandle<JSFunction> NewSFunctionByHClass(const JSHandle<Method> &methodHandle,
Dobject_factory.cpp4627 JSHandle<JSFunction> ObjectFactory::NewJSFunction(const JSHandle<Method> &methodHandle) in NewJSFunction() argument
4630 FunctionKind kind = methodHandle->GetFunctionKind(); in NewJSFunction()
4660 JSHandle<JSFunction> jsfunc = NewJSFunctionByHClass(methodHandle, hclass); in NewJSFunction()
4665 JSHandle<JSFunction> ObjectFactory::NewSFunction(const JSHandle<Method> &methodHandle, in NewSFunction() argument
4671 JSHandle<JSFunction> jsFunc = NewSFunctionByHClass(methodHandle, hclass); in NewSFunction()
4677 JSHandle<JSFunction> ObjectFactory::NewJSFunction(const JSHandle<Method> &methodHandle, in NewJSFunction() argument
4683 JSHandle<JSFunction> jsFunc = NewJSFunctionByHClass(methodHandle, hclass); in NewJSFunction()
Djs_object.cpp124 JSHandle<JSTaggedValue> methodHandle(thread, method); in IterableToList() local
125 if (!methodHandle->IsUndefined()) { in IterableToList()
126 iteratorRecord = JSIterator::GetIterator(thread, items, methodHandle); in IterableToList()
/arkcompiler/ets_runtime/ecmascript/stubs/
Druntime_stubs-inl.h2108 const JSHandle<Method> methodHandle(thread, method); in RuntimeDefinefunc()
2110 JSHandle<JSFunction> result = factory->NewJSFunction(methodHandle); in RuntimeDefinefunc()
2237 …ggedValue RuntimeStubs::RuntimeDefineMethod(JSThread *thread, const JSHandle<Method> &methodHandle, in RuntimeDefineMethod() argument
2242 JSHandle<JSFunction> func = factory->NewJSFunction(methodHandle, homeObject); in RuntimeDefineMethod()
Druntime_stubs.h721 …ic inline JSTaggedValue RuntimeDefineMethod(JSThread *thread, const JSHandle<Method> &methodHandle,