refactor(mir): レガシーコード削除 - JoinIR準備整理

## 削除内容
- **src/mir/builder_modularized/control_flow.rs**: 削除
  - JoinIR実装準備のため整理
  - 使用されていないレガシーモジュール

## 修正内容
- **src/mir/loop_builder.rs**: 軽微な整理
- **CURRENT_TASK.md**: Phase 26-H進捗更新

## 影響範囲
-  既存パイプライン無影響
-  テスト全パス維持
-  JoinIR実装準備完了

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

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
nyash-codex
2025-11-23 04:35:13 +09:00
parent 2692eafbbf
commit f2bb07b542
3 changed files with 1 additions and 130 deletions

View File

@ -85,15 +85,6 @@ impl<'a> LoopBuilder<'a> {
Ok(())
}
/// Switch insertion to a fresh (unreachable) block and place a Void const to keep callers satisfied.
fn switch_to_unreachable_block_with_void(&mut self) -> Result<ValueId, String> {
let next_block = self.new_block();
self.set_current_block(next_block)?;
let void_id = self.new_value();
self.emit_const(void_id, ConstValue::Void)?;
Ok(void_id)
}
/// [LoopForm] 【箱化】ループ脱出の共通処理break/continue統一化
///
/// Phase 25.1o: break と continue の共通パターンを抽出し、