refactor(funcscanner): Region+next_i パターン統一 & SSA テスト追加
**FuncScanner .hako 側改善**: - scan_all_boxes を Region + next_i 形式に統一(continue 多発による SSA/PHI 複雑さ削減) - インデント修正(タブ→スペース統一) - デバッグ print 削除 **SSA テスト追加**: - lang/src/compiler/tests/funcscanner_scan_methods_min.hako - src/tests/mir_funcscanner_ssa.rs (scan_methods & fib_min SSA デバッグテスト) **Phase 25.3 ドキュメント**: - docs/development/roadmap/phases/phase-25.3-funcscanner/ 追加 **関連**: Phase 25.3 FuncScanner 箱化準備作業 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@ -533,7 +533,7 @@ impl MirBuilder {
|
||||
};
|
||||
instruction = MirInstruction::Call {
|
||||
dst: *dst,
|
||||
func: crate::mir::ValueId::new(0), // Legacy compatibility
|
||||
func: crate::mir::ValueId::INVALID, // Legacy dummy (not a real SSA use)
|
||||
callee: Some(new_callee),
|
||||
args: args.clone(),
|
||||
effects: *effects,
|
||||
|
||||
Reference in New Issue
Block a user