docs: Phase 190-impl-D complete - NumberAccumulation PHI wiring fixed
- Fixed ValueId collision between body-local and carrier params - Added ExitLine contract verifier (debug assertions) - Updated test files to use Main box - E2E verified: atoi→12, parse_number→123 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@ -970,4 +970,13 @@ Assignment {
|
||||
## Revision History
|
||||
|
||||
- **2025-12-09**: Initial design (Section 1-12)
|
||||
- **TBD**: Implementation review updates
|
||||
- **2025-12-09**: Phase 190-impl 完了
|
||||
- Phase 190-impl-A: LoopUpdateAnalyzer に NumberAccumulation 検出実装
|
||||
- Phase 190-impl-B: CarrierUpdateLowerer で 2-instruction emission 実装
|
||||
- Phase 190-impl-C: Pattern2 can_lower ホワイトリスト更新
|
||||
- Phase 190-impl-D: E2E 検証成功 + PHI 配線修正
|
||||
- **バグ発見**: body-local と carrier の ValueId 衝突問題
|
||||
- **修正**: `body_local_start_offset = env.len() + carrier_info.carriers.len()` で安全な ValueId 空間分割
|
||||
- **E2E 結果**: `phase190_atoi_impl.hako` → 12 ✅、`phase190_parse_number_impl.hako` → 123 ✅
|
||||
- **制約**: body-local 変数 assignment は JoinIR 未対応(Phase 186 残タスク)
|
||||
- ExitLine contract Verifier 追加(`#[cfg(debug_assertions)]`)
|
||||
|
||||
Reference in New Issue
Block a user