docs: Phase 267 P0 EdgeCFG Branch (BranchStub + emit_frag)
This commit is contained in:
@ -1,5 +1,18 @@
|
||||
# Self Current Task — Now (main)
|
||||
|
||||
## 2025-12-21:Phase 267 P0(BranchStub + emit_frag)✅
|
||||
|
||||
**目的**: Frag に Branch を第一級で追加し、wires(Jump/Return)と同様に MIR terminator へ落とせる入口(SSOT)を作る
|
||||
**結果**: `emit_frag()` により、`wires + branches` を BasicBlockId 層で PoC 証明(unit tests)まで完了
|
||||
|
||||
- ✅ `BranchStub` 追加 + `Frag.branches` 追加
|
||||
- ✅ `compose::if_` が header→then/else の `BranchStub` を生成
|
||||
- ✅ `emit_frag(function, frag)` 追加(`verify_frag_invariants_strict` を先頭で実行、1 block = 1 terminator を Fail-Fast)
|
||||
- ✅ `cargo test -p nyash-rust --lib` PASS
|
||||
|
||||
**注意(P1)**: NormalizedShadow/JoinIR への実適用は層ミスマッチがあるため Phase 268 に繰り越し
|
||||
**詳細**: `docs/development/current/main/phases/phase-267/README.md`
|
||||
|
||||
## 2025-12-21:Phase 266(wires → MIR terminator 生成 - 最小 PoC)✅
|
||||
|
||||
**目的**: wires を MIR terminator に変換する最小 PoC を実装し、Phase 267 での本格適用に備える
|
||||
|
||||
Reference in New Issue
Block a user