Lines Matching refs:methodOffset
95 auto methodOffset = methodId.GetOffset(); in ProcessClasses() local
98 jsPandaFile_->UpdateMainMethodIndex(methodOffset, recordName); in ProcessClasses()
117 auto it = processedMethod.find(methodOffset); in ProcessClasses()
121 recordName, methodOffset, classConstructIndexes); in ProcessClasses()
122 … processedMethod[methodOffset] = std::make_pair(methodPcInfos.size() - 1, methodOffset); in ProcessClasses()
129 SetMethodPcInfoIndex(methodOffset, processedMethod[methodOffset]); in ProcessClasses()
235 uint32_t methodOffset, std::vector<panda_file::File::EntityId> &classConstructIndexes) in CollectMethodPcsFromBC() argument
266 bytecodeInfo_.SetMethodOffsetToFastCallInfo(methodOffset, canFastCall, noGC); in CollectMethodPcsFromBC()
271 void BytecodeInfoCollector::SetMethodPcInfoIndex(uint32_t methodOffset, in SetMethodPcInfoIndex() argument
291 auto iter = methodList.find(methodOffset); in SetMethodPcInfoIndex()
304 methodList.emplace(methodOffset, info); in SetMethodPcInfoIndex()
341 void BytecodeInfoCollector::MarkMethodNamespace(const uint32_t methodOffset) in MarkMethodNamespace() argument
344 auto iter = methodList.find(methodOffset); in MarkMethodNamespace()
352 methodList.emplace(methodOffset, info); in MarkMethodNamespace()
359 for (auto methodOffset : methodOffsets) { in CollectInnerMethodsFromLiteral() local
360 CollectInnerMethods(method, methodOffset); in CollectInnerMethodsFromLiteral()
367 auto methodOffset = method->GetMethodId().GetOffset(); in NewLexEnvWithSize() local
368 auto iter = methodList.find(methodOffset); in NewLexEnvWithSize()
377 methodList.emplace(methodOffset, info); in NewLexEnvWithSize()
385 for (auto methodOffset : methodOffsets) { in CollectInnerMethodsFromNewLiteral() local
386 CollectInnerMethods(method, methodOffset); in CollectInnerMethodsFromNewLiteral()
507 auto methodOffset = method->GetMethodId().GetOffset(); in CollectModuleInfoFromBC() local
516 if (jsPandaFile_->GetMainMethodIndex(recordName) == methodOffset) { in CollectModuleInfoFromBC()
523 if (jsPandaFile_->GetMainMethodIndex(recordName) == methodOffset) { in CollectModuleInfoFromBC()
530 CollectImportIndexs(methodOffset, imm); in CollectModuleInfoFromBC()
535 CollectImportIndexs(methodOffset, imm); in CollectModuleInfoFromBC()
544 void BytecodeInfoCollector::CollectImportIndexs(uint32_t methodOffset, uint32_t index) in CollectImportIndexs() argument
547 auto iter = methodList.find(methodOffset); in CollectImportIndexs()
556 methodList.emplace(methodOffset, info); in CollectImportIndexs()
717 uint32_t methodOffset = method->GetMethodId().GetOffset(); in CollectConstantPoolIndexInfoFromBC() local
748 … AddConstantPoolIndexToBCInfo(ConstantPoolInfo::ItemType::STRING, index, methodOffset, bcIndex); in CollectConstantPoolIndexInfoFromBC()
756 … AddConstantPoolIndexToBCInfo(ConstantPoolInfo::ItemType::METHOD, index, methodOffset, bcIndex); in CollectConstantPoolIndexInfoFromBC()
762 …onstantPoolIndexToBCInfo(ConstantPoolInfo::ItemType::OBJECT_LITERAL, index, methodOffset, bcIndex); in CollectConstantPoolIndexInfoFromBC()
768 …ConstantPoolIndexToBCInfo(ConstantPoolInfo::ItemType::ARRAY_LITERAL, index, methodOffset, bcIndex); in CollectConstantPoolIndexInfoFromBC()
773 …dConstantPoolIndexToBCInfo(ConstantPoolInfo::ItemType::METHOD, methodIndex, methodOffset, bcIndex); in CollectConstantPoolIndexInfoFromBC()
776 methodOffset, bcIndex); in CollectConstantPoolIndexInfoFromBC()
781 …dConstantPoolIndexToBCInfo(ConstantPoolInfo::ItemType::METHOD, methodIndex, methodOffset, bcIndex); in CollectConstantPoolIndexInfoFromBC()
784 methodOffset, bcIndex); in CollectConstantPoolIndexInfoFromBC()
833 void ConstantPoolInfo::AddIndexToCPItem(ItemType type, uint32_t index, uint32_t methodOffset, uint3… in AddIndexToCPItem() argument
839 item.insert({index, ItemData {index, methodOffset, nullptr, bcIndex}}); in AddIndexToCPItem()