| 695 | } |
| 696 | |
| 697 | void DebugInfoManager::ClearDebugScopeAndInlinedAtUses(Instruction* inst) { |
| 698 | auto scope_id_to_users_itr = scope_id_to_users_.find(inst->result_id()); |
| 699 | if (scope_id_to_users_itr != scope_id_to_users_.end()) { |
| 700 | scope_id_to_users_.erase(scope_id_to_users_itr); |
| 701 | } |
| 702 | auto inlinedat_id_to_users_itr = |
| 703 | inlinedat_id_to_users_.find(inst->result_id()); |
| 704 | if (inlinedat_id_to_users_itr != inlinedat_id_to_users_.end()) { |
| 705 | inlinedat_id_to_users_.erase(inlinedat_id_to_users_itr); |
| 706 | } |
| 707 | } |
| 708 | |
| 709 | void DebugInfoManager::AnalyzeDebugInst(Instruction* inst) { |
| 710 | if (inst->GetDebugScope().GetLexicalScope() != kNoDebugScope) { |