docs(phase29aa): add P0 CFG-aware design and link from 29z

This commit is contained in:
2025-12-27 15:38:18 +09:00
parent a916066631
commit b895f67e07
5 changed files with 147 additions and 5 deletions

View File

@ -1,6 +1,12 @@
# Self Current Task — Now (main)
## Current Focus: Phase 29z P0RC insertion minimal
## Current Focus: Phase 29aa P0RC insertion safety expansion, design-first
**2025-12-27: Phase 29aa P0 Readydesign-first**
- 目的: rc_insertion を CFG-aware に拡張するための設計を固定誤release防止
- 内容: RcPlan解析→挿入の二段階設計、PHI/loop/early-exit の危険パターン整理、release安全条件の契約
- P1 最小ターゲット: Return 終端 cleanup の RcPlan 経由化Branch/Jump は禁止継続)
- 入口: `docs/development/current/main/phases/phase-29aa/P0-RC_INSERTION_CFG_AWARE_DESIGN-INSTRUCTIONS.md`
**2025-12-27: Phase 29z P1 完了**
- `src/mir/passes/rc_insertion.rs`: `Store` 上書き + `Store null`explicit drop+ Return終端cleanup の最小 release 挿入単一block・安全ガード