mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-24 22:02:23 +01:00
Insert the cleanup if and when the pending block is inserted, not eagerly. And if the pending block is inserted by overwriting an existing instruction, create a cleanup for that instruction rather than for the instruction in the pending block that we are discarding. Assisted-by: Gemini via Antigravity