| 524 | } |
| 525 | |
| 526 | void Instruction::UpdateLexicalScope(uint32_t scope) { |
| 527 | dbg_scope_.SetLexicalScope(scope); |
| 528 | for (auto& i : dbg_line_insts_) { |
| 529 | i.dbg_scope_.SetLexicalScope(scope); |
| 530 | } |
| 531 | if (!IsLineInst() && |
| 532 | context()->AreAnalysesValid(IRContext::kAnalysisDebugInfo)) { |
| 533 | context()->get_debug_info_mgr()->AnalyzeDebugInst(this); |
| 534 | } |
| 535 | } |
| 536 | |
| 537 | void Instruction::UpdateDebugInlinedAt(uint32_t new_inlined_at) { |
| 538 | dbg_scope_.SetInlinedAt(new_inlined_at); |
no test coverage detected