/arkcompiler/ets_runtime/ecmascript/ |
H A D | method.cpp | 24 return MethodLiteral::ParseFunctionName(jsPandaFile, GetMethodId()); in ParseFunctionName() 30 return MethodLiteral::ParseFunctionNameView(jsPandaFile, GetMethodId()); in ParseFunctionNameView() 36 return MethodLiteral::GetMethodName(jsPandaFile, GetMethodId()); in GetMethodName() 41 return MethodLiteral::GetMethodName(file, GetMethodId()); in GetMethodName() 47 return MethodLiteral::GetRecordName(jsPandaFile, GetMethodId()); in GetRecordNameStr() 53 return MethodLiteral::GetCodeSize(jsPandaFile, GetMethodId()); in GetCodeSize() 73 return jsPandaFile->FindMethodLiteral(GetMethodId().GetOffset()); in GetMethodLiteral() 89 panda_file::MethodDataAccessor mda(*pandaFile, GetMethodId()); in FindCatchBlock() 110 panda_file::MethodDataAccessor mda(*pandaFile, GetMethodId()); in HasCatchBlock() 118 EntityId methodId = methodLiteral->GetMethodId(); in Create() [all...] |
/arkcompiler/ets_runtime/ecmascript/debugger/ |
H A D | js_debugger.cpp | 144 JSPtLocation smartLocation {method->GetJSPandaFile(), method->GetMethodId(), bcOffset, in HandleBreakpoint() 156 JSPtLocation location {method->GetJSPandaFile(), method->GetMethodId(), bcOffset, in HandleBreakpoint() 179 JSPtLocation location {method->GetJSPandaFile(), method->GetMethodId(), bcOffset}; in HandleDebuggerStmt() 191 JSPtLocation throwLocation {method->GetJSPandaFile(), method->GetMethodId(), bcOffset}; in HandleExceptionThrowEvent() 202 JSPtLocation location {method->GetJSPandaFile(), method->GetMethodId(), bcOffset}; in HandleStep() 212 (bp.GetPtMethod()->GetMethodId() == method->GetMethodId())) { in FindBreakpoint() 224 (bp.GetPtMethod()->GetMethodId() == method->GetMethodId())) { in FindSmartBreakpoint() 237 (bp.GetPtMethod()->GetMethodId() in RemoveBreakpoint() [all...] |
H A D | js_debugger.h | 52 ptMethod_->GetMethodId() == bpoint.GetPtMethod()->GetMethodId() && in operator ==() 61 breakpoint << "methodId:" << ptMethod_->GetMethodId() << ", "; in ToString() 89 (std::hash<uint32_t>()(bpoint.GetPtMethod()->GetMethodId().GetOffset())) ^ in operator ()()
|
H A D | js_pt_method.h | 38 EntityId GetMethodId() const in GetMethodId() function in panda::ecmascript::tooling::PtMethod
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
H A D | ir_module.cpp | 26 std::string name = MethodLiteral::GetMethodName(jsPandaFile, methodLiteral->GetMethodId()); in GetFuncName() 27 auto methodId = methodLiteral->GetMethodId(); in GetFuncName() 31 auto offset = methodLiteral->GetMethodId().GetOffset(); in GetFuncName()
|
H A D | compilation_driver.h | 77 const std::string methodName(MethodLiteral::GetMethodName(jsPandaFile_, methodLiteral->GetMethodId())); in Run() 79 methodLiteral->GetMethodId().GetOffset())) { in Run() 160 const std::string methodName(MethodLiteral::GetMethodName(jsPandaFile, methodLiteral->GetMethodId())); in CompileMethod() 164 auto &methodInfo = methodList.at(methodLiteral->GetMethodId().GetOffset()); in CompileMethod() 167 auto methodOffset = methodLiteral->GetMethodId().GetOffset(); in CompileMethod()
|
H A D | bytecode_info_collector.cpp | 80 auto methodId = mda.GetMethodId(); in ProcessClasses() 136 panda_file::File::EntityId methodIdx = methodLiteral->GetMethodId(); in ProcessMethod() 252 auto methodId = method->GetMethodId().GetOffset(); in CollectMethods() 297 innerMethodId = jsPandaFile_->ResolveMethodIndex(method->GetMethodId(), in CollectMethodInfoFromBC() 303 auto entityId = jsPandaFile_->ResolveMethodIndex(method->GetMethodId(), in CollectMethodInfoFromBC() 308 auto literalId = jsPandaFile_->ResolveMethodIndex(method->GetMethodId(), in CollectMethodInfoFromBC() 314 auto entityId = jsPandaFile_->ResolveMethodIndex(method->GetMethodId(), in CollectMethodInfoFromBC() 319 auto literalId = jsPandaFile_->ResolveMethodIndex(method->GetMethodId(), in CollectMethodInfoFromBC() 328 auto literalId = jsPandaFile_->ResolveMethodIndex(method->GetMethodId(), in CollectMethodInfoFromBC()
|
H A D | jit_compilation_env.cpp | 77 ASSERT(method->GetMethodId() == id); in FindConstpool() 109 uint32_t methodOffset = method->GetMethodId().GetOffset(); in FindOrCreateUnsharedConstpool() 125 if (methodOffset != currMethod->GetMethodId().GetOffset()) { in GetConstantPoolByMethodOffset() 188 auto currMethodOffset = currMethod->GetMethodId().GetOffset(); in GetJsFunctionByMethodOffset() 206 if (Method::Cast(currFunc->GetMethod())->GetMethodId().GetOffset() != callerOffset) { in GetJsFunctionByMethodOffset() 228 if (Method::Cast(currFunc->GetMethod())->GetMethodId().GetOffset() != methodOffset) { in GetJsFunctionByMethodOffset()
|
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/tests/ |
H A D | pgo_profiler_test.cpp | 109 auto *methodLiteral = new MethodLiteral(mda.GetMethodId()); in CreateJSPandaFile() 134 auto *methodLiteral = new MethodLiteral(mda.GetMethodId()); in CreateJSPandaFile() 215 auto methodName = MethodLiteral::GetRecordName(pf_.get(), methodLiteral->GetMethodId()); in CheckApMethodsInApFiles() 221 if (!(recordEntry->second.at(index) == methodLiteral->GetMethodId())) { in CheckApMethodsInApFiles() 270 ASSERT_TRUE(!loader.Match(pf_.get(), expectRecordName, methodLiterals[0]->GetMethodId())); in HWTEST_F_L0() 273 ASSERT_TRUE(loader.Match(pf_.get(), expectRecordName, methodLiterals[0]->GetMethodId())); in HWTEST_F_L0() 321 methodLiterals[idx]->GetMethodName(pf_.get(), methodLiterals[idx]->GetMethodId()), in HWTEST_F_L0() 322 methodLiterals[idx]->GetMethodId()); in HWTEST_F_L0() 324 ASSERT_TRUE(!loader.Match(pf_.get(), expectRecordName, methodLiterals[0]->GetMethodId())); in HWTEST_F_L0() 325 ASSERT_TRUE(!loader.Match(pf_.get(), expectRecordName, methodLiterals[2]->GetMethodId())); in HWTEST_F_L0() [all...] |
/arkcompiler/runtime_core/bytecode_optimizer/tests/ |
H A D | graph_test.h | 62 mda.GetMethodId().GetOffset()); in TestBuildGraphFromFile() 89 auto func_name = ir_interface.GetMethodIdByOffset(mda.GetMethodId().GetOffset()); in TestBuildGraphFromFunc() 98 mda.GetMethodId().GetOffset()); in TestBuildGraphFromFunc()
|
/arkcompiler/toolchain/tooling/backend/ |
H A D | js_single_stepper.cpp | 45 if ((method_->GetMethodId() == ptMethod->GetMethodId()) && in StepComplete() 126 std::list<JSPtStepRange> ranges = GetStepRanges(extractor, ptMethod->GetMethodId(), in GetStepper()
|
/arkcompiler/ets_runtime/ecmascript/patch/ |
H A D | patch_loader.cpp | 151 EntityId baseMethodId = baseMethodLiteral->GetMethodId(); in UnloadPatchInternal() 253 EntityId methodId = Method::Cast(function->GetMethod())->GetMethodId(); in UpdateJSFunction() 269 EntityId methodId = Method::Cast(funcTemp->GetMethod())->GetMethodId(); in UpdateJSFunction() 295 EntityId methodIdLoop = Method::Cast(function->GetMethod())->GetMethodId(); in UpdateModuleForColdPatch() 307 EntityId methodIdLoop = Method::Cast(funcTemp->GetMethod())->GetMethodId(); in UpdateModuleForColdPatch() 344 EntityId baseMethodId = baseMethod->GetMethodId(); in FindAndReplaceSameMethod() 351 EntityId patchMethodId = patchMethodLiteral->GetMethodId(); in FindAndReplaceSameMethod() 405 EntityId baseMethodId = baseMethod->GetMethodId(); in FindAndReplaceClassLiteral() 412 EntityId patchMethodId = patchMethodLiteral->GetMethodId(); in FindAndReplaceClassLiteral() 517 EntityId methodId = mda.GetMethodId(); in CollectClassInfo() [all...] |
H A D | quick_fix_helper.cpp | 26 EntityId methodId = mainMethodLiteral->GetMethodId(); in CreateMainFuncWithPatch()
|
/arkcompiler/runtime_core/static_core/runtime/tests/tooling/ |
H A D | test_util.cpp | 44 auto variables = extractor->GetLocalVariableInfo(location.GetMethodId(), location.GetBytecodeOffset()); in GetValueRegister() 51 auto params = extractor->GetParameterInfo(location.GetMethodId()); in GetValueRegister()
|
/arkcompiler/toolchain/tooling/test/testcases/ |
H A D | js_single_step_test.h | 47 ASSERT_TRUE(location.GetMethodId().IsValid()); in JsSingleStepTest() 59 ASSERT_TRUE(location.GetMethodId().IsValid()); in JsSingleStepTest()
|
H A D | js_step_over_test.h | 52 ASSERT_TRUE(location.GetMethodId().IsValid()); in JsStepOverTest() 67 ASSERT_TRUE(location.GetMethodId().IsValid()); in JsStepOverTest()
|
H A D | js_step_out_test.h | 52 ASSERT_TRUE(location.GetMethodId().IsValid()); in JsStepOutTest() 63 ASSERT_TRUE(location.GetMethodId().IsValid()); in JsStepOutTest()
|
H A D | js_step_into_test.h | 54 ASSERT_TRUE(location.GetMethodId().IsValid()); in JsStepIntoTest() 69 ASSERT_TRUE(location.GetMethodId().IsValid()); in JsStepIntoTest()
|
H A D | js_range_error_test.h | 27 ASSERT_TRUE(location.GetMethodId().IsValid()); in JsRangeErrorTest() 61 ASSERT_TRUE(location_.GetMethodId().IsValid()); in JsRangeErrorTest()
|
H A D | js_throw_exception_test.h | 27 ASSERT_TRUE(location.GetMethodId().IsValid());
in JsThrowExceptionTest() 63 ASSERT_TRUE(location_.GetMethodId().IsValid());
in JsThrowExceptionTest()
|
H A D | js_syntax_exception_test.h | 27 ASSERT_TRUE(location.GetMethodId().IsValid());
in JsSyntaxExceptionTest() 61 ASSERT_TRUE(location_.GetMethodId().IsValid());
in JsSyntaxExceptionTest()
|
/arkcompiler/ets_runtime/ecmascript/jspandafile/tests/ |
H A D | js_pandafile_executor_test.cpp | 80 methodId.push_back(mda.GetMethodId()); in HWTEST_F_L0() 115 methodId.push_back(mda.GetMethodId()); in HWTEST_F_L0() 152 methodId.push_back(mda.GetMethodId()); in HWTEST_F_L0()
|
H A D | panda_file_translator_test.cpp | 80 methodId.push_back(mda.GetMethodId()); in HWTEST_F_L0() 123 methodId.push_back(mda.GetMethodId()); in HWTEST_F_L0()
|
/arkcompiler/runtime_core/static_core/runtime/include/tooling/ |
H A D | pt_location.h | 38 EntityId GetMethodId() const in GetMethodId() function in ark::tooling::PtLocation
|
/arkcompiler/toolchain/tooling/test/utils/ |
H A D | test_extractor.cpp | 34 retId = jsLocation.GetMethodId(); in GetBreakpointAddress()
|