docs: Phase 260 P2 完了記録 + EdgeCFG SSOT 確立

Update phase-260/README.md:
- Status: P2 完了 (EdgeCFG SSOT確立)
- Add P2 completion record with test results
- Add EdgeCFG SSOT definition (Jump/Branch: terminator SSOT, Return: metadata exception)
- Document unified API (read/write separation)
- Note Option B' trade-off (Return metadata exception)

Update 10-Now.md:
- Add Phase 260 P2 completion entry (2025-12-21)
- Test results: 1368 lib tests, 45/46 smoke, phase258 tail call
- Verification: 0 jump_args references (comments excluded)
- 9 files modified

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
2025-12-21 09:39:39 +09:00
parent 901ce767ce
commit fc6eed1b04
2 changed files with 37 additions and 1 deletions

View File

@ -46,6 +46,20 @@
- **Next Action**: **Phase 260 完了**P0.3まで完了)→ **今後は機能側のPhaseへ**Pattern2 LoopBodyLocal promotion 機能実装)
- **分類**: JoinIR Pattern2 機能拡張compiler機能側、CFG基盤整備は完了
## 2025-12-21Phase 260 P2BasicBlock.jump_args 完全削除)✅
- **EdgeCFG SSOT確立完了**: `BasicBlock.jump_args` フィールド削除、edge-args SSOTをterminator operand側に一本化
- **フィールド変更**: `jump_args` → `return_env`Return専用metadata、terminator operandなし
- **API簡略化**: legacy helper 8個削除、terminator更新API保持successors同期漏れ防止
- **Verification簡素化**: dual-source検証削除cfg.rs 62行削除
- **テスト結果**:
- cargo test --lib: 1368 PASS
- quick smoke: 45/46 PASS
- phase258 tail call: PASSReturn env保持確認
- **検証**: `rg 'jump_args' src/` = 0件コメント除く
- **修正ファイル**: 9ファイルbasic_block.rs、handlers 4件、verification、test
- **詳細**: `docs/development/current/main/phases/phase-260/README.md`
## 2025-12-21Phase 260 P0.2/P0.3(モジュール化大工事)✅
- **P0.2**: instruction_rewriter モジュール化