Searched refs:methodLiterals (Results 1 – 3 of 3) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/tests/ |
D | pgo_profiler_test.cpp | 65 std::vector<MethodLiteral *> &methodLiterals) in CreateJSPandaFile() argument 85 methodLiterals.push_back(methodLiteral); in CreateJSPandaFile() 119 std::vector<MethodLiteral *> methodLiterals {}; in HWTEST_F_L0() local 120 std::shared_ptr<JSPandaFile> pf = CreateJSPandaFile(source, "ark-profiler.abc", methodLiterals); in HWTEST_F_L0() 121 EXPECT_EQ(methodLiterals.size(), 1); // number of methods in HWTEST_F_L0() 134 JSHandle<Method> method = vm_->GetFactory()->NewMethod(methodLiterals[0]); in HWTEST_F_L0() 147 ASSERT_TRUE(!loader.Match(expectRecordName, methodLiterals[0]->GetMethodId())); in HWTEST_F_L0() 150 ASSERT_TRUE(loader.Match(expectRecordName, methodLiterals[0]->GetMethodId())); in HWTEST_F_L0() 167 std::vector<MethodLiteral *> methodLiterals {}; in HWTEST_F_L0() local 168 … std::shared_ptr<JSPandaFile> pf = CreateJSPandaFile(source, "ark-profiler1.abc", methodLiterals); in HWTEST_F_L0() [all …]
|
/arkcompiler/ets_runtime/ecmascript/patch/ |
D | patch_loader.cpp | 333 CMap<CString, CMap<CString, MethodLiteral*>> methodLiterals; in GeneratePatchInfo() local 345 auto iter = methodLiterals.find(recordName); in GeneratePatchInfo() 346 if (iter != methodLiterals.end()) { in GeneratePatchInfo() 350 methodLiterals.emplace(recordName, std::move(methodNameInfo)); in GeneratePatchInfo() 356 patchInfo.patchMethodLiterals = std::move(methodLiterals); in GeneratePatchInfo()
|
/arkcompiler/ets_runtime/ecmascript/jspandafile/ |
D | panda_file_translator.cpp | 43 MethodLiteral *methodLiterals = jsPandaFile->GetMethodLiterals(); in TranslateClasses() local 56 …cda.EnumerateMethods([jsPandaFile, &translatedCode, methodLiterals, &methodIdx, pf, &methodName, &… in TranslateClasses() 74 MethodLiteral *methodLiteral = methodLiterals + (methodIdx++); in TranslateClasses()
|