Task 204-2: Implement verify_no_phi_dst_overwrite() - Added PHI dst overwrite detection in merge/mod.rs - Helper get_instruction_dst() extracts dst from MirInstruction - Integrated into verify_joinir_contracts() - Fixed pre-existing bugs: - entry_block_remapped → entry_block (line 592) - HashMap → BTreeMap in reconnector.rs (line 174) - All instructions covered with wildcard pattern Design: - Debug-only (#[cfg(debug_assertions)]) - Fail-Fast panic on violation - Checks PHI dst not overwritten by later instructions in header block Status: Build SUCCESS (Task 204-2 complete) Next: Task 204-3 (PHI inputs verification)
Nyash Development Documentation 🔧
開発者向けの進行中タスクと開発計画ドキュメントです。
📂 ディレクトリ構造
current/
CURRENT_TASK.md- 現在進行中のタスク- アクティブな開発作業の詳細
- 最新の実装状況
roadmap/
- phases/ - フェーズ別開発計画
- phase-8/ - AST→MIR変換
- phase-9/ - VM/JIT実装
- phase-10/ - AOT最適化
- native-plan/ - ネイティブビルド計画
- 実行バックエンド統合
- パフォーマンス目標
proposals/
- RFC(Request for Comments)
- 新機能提案
- 設計ディスカッション
🎯 重要な参照先
- 進行状況:
current/CURRENT_TASK.md - 開発計画:
roadmap/phases/ - 技術提案:
proposals/
📝 注意事項
このディレクトリの内容は開発中であり、頻繁に変更されます。
安定した仕様はreference/を参照してください。