| /arkcompiler/ets_runtime/ecmascript/pgo_profiler/ |
| D | pgo_profiler.cpp | 34 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/ |
| D | inst_builder-inl.h | 27 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()
|
| D | ir_builder.cpp | 33 … << 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 …]
|
| D | inst_builder.cpp | 27 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()
|
| D | ir_builder.h | 69 explicit IrBuilder(Graph *graph) : IrBuilder(graph, graph->GetMethod()) {} in IrBuilder() 94 auto GetMethod() const in GetMethod() function
|
| /arkcompiler/ets_runtime/ecmascript/ic/ |
| D | invoke_cache.cpp | 70 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/ |
| D | js_iterator.cpp | 51 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()
|
| D | js_proxy.cpp | 63 // 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 …]
|
| D | js_function.h | 45 JSTaggedValue method = GetMethod(); in SetCallNapi() 51 JSTaggedValue method = GetMethod(); in IsCallNapi() 57 JSTaggedValue method = GetMethod(); in GetFunctionKind()
|
| /arkcompiler/ets_frontend/ts2panda/src/base/ |
| D | iterator.ts | 70 getMethod(id: string): void { method in Iterator 128 // 4. Let innerResult be GetMethod(iterator, "return"). 129 this.getMethod("return");
|
| /arkcompiler/ets_runtime/ecmascript/builtins/ |
| D | builtins_async_from_sync_iterator.cpp | 87 // 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/ |
| D | iterators.cpp | 42 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()
|
| D | iterators.h | 58 void GetMethod(util::StringView name) const;
|
| /arkcompiler/ets_runtime/ecmascript/interpreter/ |
| D | frame_handler.cpp | 131 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/ |
| D | js_single_stepper.cpp | 40 std::unique_ptr<PtMethod> ptMethod = DebuggerApi::GetMethod(ecmaVm_); in StepComplete() 112 std::unique_ptr<PtMethod> ptMethod = DebuggerApi::GetMethod(ecmaVm); in GetStepper()
|
| D | debugger_executor.cpp | 208 Method *method = DebuggerApi::GetMethod(frameHandler); in GetModuleValue() 225 Method *method = DebuggerApi::GetMethod(frameHandler); in SetModuleValue()
|
| /arkcompiler/ets_frontend/ts2panda/src/function/ |
| D | asyncGeneratorFunctionBuilder.ts | 168 // 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/ |
| D | functionBuilder.cpp | 215 // 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/ |
| D | literal.h | 65 const util::StringView &GetMethod() const;
|
| D | literal.cpp | 53 const util::StringView &Literal::GetMethod() const in GetMethod() function in panda::es2panda::ir::Literal
|
| /arkcompiler/runtime_core/compiler/tests/ |
| D | panda_runner.h | 99 if (auto method = GetMethod("hook"); method != nullptr) { in Run() 127 static Method *GetMethod(std::string_view method_name) in GetMethod() function
|
| D | profiling_runner_test.cpp | 67 auto method = runner.GetMethod("foo"); in TEST_F()
|
| /arkcompiler/runtime_core/compiler/optimizer/ |
| D | pass_manager.cpp | 81 ss_filename << GetGraph()->GetRuntime()->GetClassNameFromMethod(GetGraph()->GetMethod()) << "_" in GetFileName() 82 << GetGraph()->GetRuntime()->GetMethodName(GetGraph()->GetMethod()); in GetFileName()
|
| /arkcompiler/ets_runtime/ecmascript/debugger/ |
| D | debugger_api.h | 61 static std::unique_ptr<PtMethod> GetMethod(const EcmaVM *ecmaVm); 62 static Method *GetMethod(const FrameHandler *frameHandler);
|
| /arkcompiler/ets_runtime/ecmascript/jspandafile/ |
| D | scope_info_extractor.cpp | 30 Method *method = FrameHandler(thread).GetMethod(); in GenerateScopeInfo()
|