phase29z(p2): return cleanup and null propagation doc alignment

This commit is contained in:
2025-12-27 15:26:42 +09:00
parent 084277ee18
commit a916066631
5 changed files with 81 additions and 9 deletions

View File

@ -3,11 +3,11 @@
## Current Focus: Phase 29z P0RC insertion minimal
**2025-12-27: Phase 29z P1 完了**
- `src/mir/passes/rc_insertion.rs`: `Store` 上書き + `Store null`explicit dropの最小 release 挿入単一block・安全ガード
- `src/mir/passes/rc_insertion.rs`: `Store` 上書き + `Store null`explicit drop+ Return終端cleanup の最小 release 挿入単一block・安全ガード
- 既定OFF: Cargo feature `rc-insertion-minimal`env var 新設なし)
- 検証: quick 154/154 PASS 維持 + `cargo run --bin rc_insertion_selfcheck --features rc-insertion-minimal`
- 入口: `docs/development/current/main/phases/phase-29z/README.md`
- 次: Phase 29z P2 closeout残課題null伝搬強化/スコープ終端cleanupの方針化
- 次: Phase 29z P2 closeout残課題null伝搬強化/Branch&Jump終端cleanup/PHI・loop・early-exitの設計
**2025-12-27: Phase 29y P0 完了**
- docs-first SSOT finalizedABI/RC insertion/Observability

View File

@ -58,13 +58,13 @@ Related:
- 次: Phase 29zRC insertion minimalまたは Phase 29xDe-Rust runtime候補
- **Phase 29zP2 CLOSEOUT準備中, implementation-minimal: RC insertion minimal**
- 進捗: P1まで完了上書きStore null で ReleaseStrong 挿入、単一block・安全ガード付き
- 進捗: P1まで完了上書きStore nullReturn終端cleanup で ReleaseStrong 挿入、単一block・安全ガード付き
- ガード: Cargo feature `rc-insertion-minimal`既定OFF、env var 新設なし)
- 検証: quick 154/154 PASS 維持 + `rc_insertion_selfcheck`opt-in
- 残課題P2で方針化→次フェーズへ
- null伝搬の精度向上copy以外の伝搬パターン追加を段階的に
- スコープ終端の releaseblock end cleanupの最小実装検討単一blockから
- PHI/loop/early-exit は次フェーズ以降誤release防止
- Branch/Jump 終端での cleanup をどう安全に扱うかの設計
- PHI/loop/early-exit の安全な cleanup 設計誤release防止
- 入口: `docs/development/current/main/phases/phase-29z/README.md`
- 指示書: `docs/development/current/main/phases/phase-29z/P0-RC_INSERTION_MINIMAL-INSTRUCTIONS.md`

View File

@ -17,9 +17,9 @@ Verification:
Progress:
- P0: overwrite releaseStore 上書き)
- P1: explicit dropStore nullを最小対応
- P2: closeout残課題と次フェーズの入口を明文化
- P2: closeoutReturn終端のcleanup追加、残課題を整理
Next Steps持ち越し事項:
- null 伝搬の精度向上copy 以外の伝搬パターンを段階的に追加)
- スコープ終端の releaseblock end cleanupの最小実装単一blockから着手
- PHI/loop/early-exit は次フェーズ以降で慎重に扱う(誤 release 防止)
- null 伝搬の精度向上copy以外の伝搬パターンを段階的に追加
- block終端cleanupの拡張: Return以外Branch/Jumpで安全に扱えるかの設計
- PHI/loop/early-exit の安全な cleanup 設計(誤 release 防止)