Home
last modified time | relevance | path

Searched full:getmethod (Results 1 – 25 of 87) sorted by relevance

1234

/arkcompiler/ets_runtime/ecmascript/pgo_profiler/
Dpgo_profiler.cpp34 if (!JSFunction::Cast(calleeFunc)->GetMethod().IsMethod()) { in ProfileCall()
37 auto calleeMethod = Method::Cast(JSFunction::Cast(calleeFunc)->GetMethod()); in ProfileCall()
47 …if (pcOffset > 0 && currentFunc.IsJSFunction() && JSFunction::Cast(currentFunc)->GetMethod().IsMet… in ProfileCall()
48 auto currentMethod = Method::Cast(JSFunction::Cast(currentFunc)->GetMethod()); in ProfileCall()
84 if (funcValue.IsJSFunction() && JSFunction::Cast(funcValue)->GetMethod().IsMethod()) { in ProfileOpType()
85 auto jsMethod = Method::Cast(JSFunction::Cast(funcValue)->GetMethod()); in ProfileOpType()
111 auto method = funcFunction->GetMethod(); in ProfileDefineClass()
123 auto ctorMethod = ctorFunction->GetMethod(); in ProfileDefineClass()
136 if (superFuncFunction->GetMethod().IsMethod()) { in ProfileDefineClass()
137 auto superMethod = Method::Cast(superFuncFunction->GetMethod()); in ProfileDefineClass()
[all …]
/arkcompiler/runtime_core/compiler/optimizer/ir_builder/
Dinst_builder-inl.h27 auto method = GetGraph()->GetMethod(); in BuildLoadFromPool()
34 …type_id = GetRuntime()->ResolveOffsetByIndex(GetGraph()->GetMethod(), bc_inst->GetId(0).AsIndex()); in BuildLoadFromPool()
52 auto language = GetRuntime()->GetMethodSourceLanguage(GetMethod()); in BuildCastToAnyString()
79 auto language = GetRuntime()->GetMethodSourceLanguage(GetMethod()); in BuildCastToAnyNumber()
Dir_builder.cpp33 … << GetGraph()->GetRuntime()->GetClassNameFromMethod(GetMethod()) << "." in RunImpl()
34 << GetGraph()->GetRuntime()->GetMethodName(GetMethod()) in RunImpl()
35 … << "(args=" << GetGraph()->GetRuntime()->GetMethodTotalArgumentsCount(GetMethod()) in RunImpl()
36 … << ", regs=" << GetGraph()->GetRuntime()->GetMethodRegistersCount(GetMethod()) in RunImpl()
39 auto instructions_buf = GetGraph()->GetRuntime()->GetMethodCode(GetMethod()); in RunImpl()
40 …tions pbc_instructions(instructions_buf, GetGraph()->GetRuntime()->GetMethodCodeSize(GetMethod())); in RunImpl()
41 size_t vregs_count = GetGraph()->GetRuntime()->GetMethodRegistersCount(GetMethod()) + in RunImpl()
42 GetGraph()->GetRuntime()->GetMethodTotalArgumentsCount(GetMethod()) + 1; in RunImpl()
51 InstBuilder inst_builder(GetGraph(), GetMethod()); in RunImpl()
102 …e = static_cast<panda_file::File *>(GetGraph()->GetRuntime()->GetBinaryFileForMethod(GetMethod())); in CheckMethodLimitations()
[all …]
Dinst_builder.cpp27 auto num_args = GetRuntime()->GetMethodTotalArgumentsCount(GetMethod()); in Prepare()
32 auto reg_num = GetRuntime()->GetMethodRegistersCount(GetMethod()) + i; in Prepare()
270 inst->SetMethod(GetMethod()); in CreateSaveState()
277 return GetRuntime()->GetMethodArgumentsCount(GetMethod(), id); in GetMethodArgumentsCount()
Dir_builder.h69 explicit IrBuilder(Graph *graph) : IrBuilder(graph, graph->GetMethod()) {} in IrBuilder()
94 auto GetMethod() const in GetMethod() function
/arkcompiler/ets_runtime/ecmascript/ic/
Dinvoke_cache.cpp70 if (JSFunction::Cast(result.GetTaggedObject())->GetMethod() == in CheckPolyInvokeCache()
71 JSFunction::Cast(func.GetTaggedObject())->GetMethod()) { in CheckPolyInvokeCache()
94 newTgt->GetMethod() == JSFunction::Cast(firstValue.GetTaggedObject())->GetMethod())) { in Construct()
/arkcompiler/ets_runtime/ecmascript/
Djs_iterator.cpp51 JSHandle<JSTaggedValue> func = JSObject::GetMethod(thread, obj, iteratorSymbol); in GetIterator()
82 // i. Set method to ? GetMethod(obj, @@asyncIterator). in GetAsyncIterator()
84 JSHandle<JSTaggedValue> method = JSObject::GetMethod(thread, obj, asynciteratorSymbol); in GetAsyncIterator()
88 JSHandle<JSTaggedValue> func = JSObject::GetMethod(thread, obj, iteratorSymbol); in GetAsyncIterator()
121 JSHandle<JSTaggedValue> next(JSObject::GetMethod(thread, iter, key)); in IteratorNext()
142 JSHandle<JSTaggedValue> next(JSObject::GetMethod(thread, iter, key)); in IteratorNext()
251 // 3.Let return be GetMethod(iterator, "return"). in IteratorClose()
Djs_proxy.cpp63 // 5. Let trap be GetMethod(handler, "getPrototypeOf"). in GetPrototype()
65 JSHandle<JSTaggedValue> trap = JSObject::GetMethod(thread, handler, name); in GetPrototype()
124 // 6. Let trap be GetMethod(handler, "setPrototypeOf"). in SetPrototype()
126 …JSHandle<JSTaggedValue> trap(JSObject::GetMethod(thread, JSHandle<JSTaggedValue>(thread, handler),… in SetPrototype()
184 // 5. Let trap be GetMethod(handler, "isExtensible"). in IsExtensible()
186 …JSHandle<JSTaggedValue> trap(JSObject::GetMethod(thread, JSHandle<JSTaggedValue>(thread, handler),… in IsExtensible()
226 // 5. Let trap be GetMethod(handler, "preventExtensions"). in PreventExtensions()
239 …JSHandle<JSTaggedValue> trap(JSObject::GetMethod(thread, JSHandle<JSTaggedValue>(thread, handler),… in PreventExtensions()
278 // 6. Let trap be GetMethod(handler, "getOwnPropertyDescriptor"). in GetOwnProperty()
292 …JSHandle<JSTaggedValue> trap(JSObject::GetMethod(thread, JSHandle<JSTaggedValue>(thread, handler),… in GetOwnProperty()
[all …]
Djs_function.h45 JSTaggedValue method = GetMethod(); in SetCallNapi()
51 JSTaggedValue method = GetMethod(); in IsCallNapi()
57 JSTaggedValue method = GetMethod(); in GetFunctionKind()
/arkcompiler/ets_frontend/ts2panda/src/base/
Diterator.ts70 getMethod(id: string): void { method in Iterator
128 // 4. Let innerResult be GetMethod(iterator, "return").
129 this.getMethod("return");
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_async_from_sync_iterator.cpp87 // 5.Let return be GetMethod(syncIterator, "throw"). in Throw()
89 JSHandle<JSTaggedValue> throwResult = JSObject::GetMethod(thread, syncIterator, throwString); in Throw()
160 // 5.Let return be GetMethod(syncIterator, "return"). in Return()
162 JSHandle<JSTaggedValue> returnResult = JSObject::GetMethod(thread, syncIterator, returnString); in Return()
/arkcompiler/ets_frontend/es2panda/compiler/base/
Diterators.cpp42 void Iterator::GetMethod(util::StringView name) const in GetMethod() function in panda::es2panda::compiler::Iterator
101 // 4. Let innerResult be GetMethod(iterator, "return"). in Close()
102 GetMethod("return"); in Close()
Diterators.h58 void GetMethod(util::StringView name) const;
/arkcompiler/ets_runtime/ecmascript/interpreter/
Dframe_handler.cpp131 Method *method = GetMethod(); in GetBytecodeOffset()
136 Method *FrameHandler::GetMethod() const in GetMethod() function in panda::ecmascript::FrameHandler
237 auto method = GetMethod(); in GetConstpool()
261 << "]:" << frameHandler.GetMethod()->ParseFunctionName() in DumpStack()
271 int offset = pc - frameHandler.GetMethod()->GetBytecodeArray(); in DumpPC()
/arkcompiler/toolchain/tooling/backend/
Djs_single_stepper.cpp40 std::unique_ptr<PtMethod> ptMethod = DebuggerApi::GetMethod(ecmaVm_); in StepComplete()
112 std::unique_ptr<PtMethod> ptMethod = DebuggerApi::GetMethod(ecmaVm); in GetStepper()
Ddebugger_executor.cpp208 Method *method = DebuggerApi::GetMethod(frameHandler); in GetModuleValue()
225 Method *method = DebuggerApi::GetMethod(frameHandler); in SetModuleValue()
/arkcompiler/ets_frontend/ts2panda/src/function/
DasyncGeneratorFunctionBuilder.ts168 // i. Let throw be ? GetMethod(iterator, "throw")
169 iter.getMethod("throw");
190 // ii. Let return be ? GetMethod(iterator, "return").
191 iter.getMethod("return");
/arkcompiler/ets_frontend/es2panda/compiler/function/
DfunctionBuilder.cpp215 // i. Let throw be ? GetMethod(iterator, "throw"). in YieldStar()
216 iterator.GetMethod("throw"); in YieldStar()
237 // ii. Let return be ? GetMethod(iterator, "return"). in YieldStar()
238 iterator.GetMethod("return"); in YieldStar()
/arkcompiler/ets_frontend/es2panda/ir/expressions/
Dliteral.h65 const util::StringView &GetMethod() const;
Dliteral.cpp53 const util::StringView &Literal::GetMethod() const in GetMethod() function in panda::es2panda::ir::Literal
/arkcompiler/runtime_core/compiler/tests/
Dpanda_runner.h99 if (auto method = GetMethod("hook"); method != nullptr) { in Run()
127 static Method *GetMethod(std::string_view method_name) in GetMethod() function
Dprofiling_runner_test.cpp67 auto method = runner.GetMethod("foo"); in TEST_F()
/arkcompiler/runtime_core/compiler/optimizer/
Dpass_manager.cpp81 ss_filename << GetGraph()->GetRuntime()->GetClassNameFromMethod(GetGraph()->GetMethod()) << "_" in GetFileName()
82 << GetGraph()->GetRuntime()->GetMethodName(GetGraph()->GetMethod()); in GetFileName()
/arkcompiler/ets_runtime/ecmascript/debugger/
Ddebugger_api.h61 static std::unique_ptr<PtMethod> GetMethod(const EcmaVM *ecmaVm);
62 static Method *GetMethod(const FrameHandler *frameHandler);
/arkcompiler/ets_runtime/ecmascript/jspandafile/
Dscope_info_extractor.cpp30 Method *method = FrameHandler(thread).GetMethod(); in GenerateScopeInfo()

1234