| 535 | } |
| 536 | |
| 537 | void Instruction::UpdateDebugInlinedAt(uint32_t new_inlined_at) { |
| 538 | dbg_scope_.SetInlinedAt(new_inlined_at); |
| 539 | for (auto& i : dbg_line_insts_) { |
| 540 | i.dbg_scope_.SetInlinedAt(new_inlined_at); |
| 541 | } |
| 542 | if (!IsLineInst() && |
| 543 | context()->AreAnalysesValid(IRContext::kAnalysisDebugInfo)) { |
| 544 | context()->get_debug_info_mgr()->AnalyzeDebugInst(this); |
| 545 | } |
| 546 | } |
| 547 | |
| 548 | void Instruction::ClearDbgLineInsts() { |
| 549 | if (context()->AreAnalysesValid(IRContext::kAnalysisDefUse)) { |
no test coverage detected