Home
last modified time | relevance | path

Searched refs:constpoolMap (Results 1 – 5 of 5) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/jspandafile/tests/
Djs_pandafile_test.cpp186 CUnorderedMap<uint32_t, uint64_t> constpoolMap = pf->GetConstpoolMap(); in HWTEST_F_L0() local
187 ConstPoolValue constPoolValue1(constpoolMap.at(methodId[0].GetOffset())); in HWTEST_F_L0()
188 ConstPoolValue constPoolValue2(constpoolMap.at(methodId[1].GetOffset())); in HWTEST_F_L0()
189 ConstPoolValue constPoolValue3(constpoolMap.at(methodId[2].GetOffset())); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/jspandafile/
Djs_pandafile.h40 CUnorderedMap<uint32_t, uint64_t> constpoolMap; member
157 return &info->second.constpoolMap; in GetConstpoolMapByReocrd()
169 … const CUnorderedMap<uint32_t, uint64_t> *constpoolMap = nullptr);
Djs_pandafile.cpp108 const CUnorderedMap<uint32_t, uint64_t> *constpoolMap) in GetOrInsertConstantPool() argument
111 if (constpoolMap != nullptr && !IsBundlePack()) { in GetOrInsertConstantPool()
112 map = const_cast<CUnorderedMap<uint32_t, uint64_t> *>(constpoolMap); in GetOrInsertConstantPool()
Dpanda_file_translator.cpp161 const CUnorderedMap<uint32_t, uint64_t> &constpoolMap = jsPandaFile->GetConstpoolMap(); in ParseConstPool() local
162 for (const auto &it : constpoolMap) { in ParseConstPool()
237 …CUnorderedMap<uint32_t, uint64_t> constpoolMap = *jsPandaFile->GetConstpoolMapByReocrd(entryPoint); in ParseFuncAndLiteralConstPool() local
238 for (const auto &it : constpoolMap) { in ParseFuncAndLiteralConstPool()
/arkcompiler/ets_runtime/ecmascript/
Decma_context.cpp430 auto &constpoolMap = cachedConstpools_[jsPandaFile]; in AddConstpool() local
431 ASSERT(constpoolMap.find(index) == constpoolMap.end()); in AddConstpool()
432 constpoolMap.insert({index, constpool}); in AddConstpool()