| 546 | } |
| 547 | |
| 548 | void Instruction::ClearDbgLineInsts() { |
| 549 | if (context()->AreAnalysesValid(IRContext::kAnalysisDefUse)) { |
| 550 | auto def_use_mgr = context()->get_def_use_mgr(); |
| 551 | for (auto& l_inst : dbg_line_insts_) def_use_mgr->ClearInst(&l_inst); |
| 552 | } |
| 553 | clear_dbg_line_insts(); |
| 554 | } |
| 555 | |
| 556 | bool Instruction::UpdateDebugInfoFrom(const Instruction* from, |
| 557 | const Instruction* line) { |
no test coverage detected