refactor(mir): Phase 139-P3-B - RoutingDecision を enum 対応 + レガシー削除
- RoutingDecision の missing_caps を Vec<CapabilityTag> に変更(型安全化) - error_tags は to_tag() メソッドで自動生成 - 全 callsite を enum variant に修正 - capability_tags モジュール(文字列定数群)を完全削除 - 全テスト PASS(型安全性向上を確認) - フォーマット適用
This commit is contained in:
@ -70,7 +70,8 @@ impl MirBuilder {
|
||||
if let Some(func) = self.scope_ctx.current_function.as_mut() {
|
||||
func.update_cfg();
|
||||
}
|
||||
if let (Some(func), Some(cur_bb)) = (&self.scope_ctx.current_function, self.current_block)
|
||||
if let (Some(func), Some(cur_bb)) =
|
||||
(&self.scope_ctx.current_function, self.current_block)
|
||||
{
|
||||
crate::mir::phi_core::common::debug_verify_phi_inputs(
|
||||
func, cur_bb, &inputs,
|
||||
@ -94,7 +95,9 @@ impl MirBuilder {
|
||||
type_hint: None, // Phase 63-6: Legacy path, no type hint
|
||||
})?;
|
||||
}
|
||||
self.variable_ctx.variable_map.insert(pin_name.clone(), merged);
|
||||
self.variable_ctx
|
||||
.variable_map
|
||||
.insert(pin_name.clone(), merged);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -172,7 +175,8 @@ impl MirBuilder {
|
||||
if let Some(func) = self.scope_ctx.current_function.as_mut() {
|
||||
func.update_cfg();
|
||||
}
|
||||
if let (Some(func), Some(cur_bb)) = (&self.scope_ctx.current_function, self.current_block)
|
||||
if let (Some(func), Some(cur_bb)) =
|
||||
(&self.scope_ctx.current_function, self.current_block)
|
||||
{
|
||||
crate::mir::phi_core::common::debug_verify_phi_inputs(
|
||||
func, cur_bb, &inputs,
|
||||
@ -205,7 +209,8 @@ impl MirBuilder {
|
||||
if let Some(func) = self.scope_ctx.current_function.as_mut() {
|
||||
func.update_cfg();
|
||||
}
|
||||
if let (Some(func), Some(cur_bb)) = (&self.scope_ctx.current_function, self.current_block)
|
||||
if let (Some(func), Some(cur_bb)) =
|
||||
(&self.scope_ctx.current_function, self.current_block)
|
||||
{
|
||||
crate::mir::phi_core::common::debug_verify_phi_inputs(
|
||||
func, cur_bb, &inputs,
|
||||
|
||||
Reference in New Issue
Block a user