Phase 179-A Step 2: Separate LoopFrontendBinding JSON construction logic into dedicated module for better organization. Changes: - New file: routing_legacy_binding.rs (223 lines) - routing.rs: cf_loop_joinir_impl() simplified to 15 lines (delegates to legacy path) - Routing now clearly separates pattern-based vs. legacy binding paths Benefits: - Clear separation of concerns (pattern router vs. legacy whitelist) - routing.rs reduced from 364 to 146 lines (60% reduction) - Legacy path isolated for future deprecation
14 lines
486 B
Rust
14 lines
486 B
Rust
//! JoinIR integration for control flow
|
|
//!
|
|
//! This module contains JoinIR-related control flow logic:
|
|
//! - Pattern lowerers (patterns/)
|
|
//! - Routing logic (routing.rs) ✅
|
|
//! - MIR block merging (merge/) ✅ Phase 4
|
|
//! - Unified tracing (trace.rs) ✅ Phase 195
|
|
|
|
pub(in crate::mir::builder) mod patterns;
|
|
pub(in crate::mir::builder) mod routing;
|
|
pub(in crate::mir::builder) mod routing_legacy_binding;
|
|
pub(in crate::mir::builder) mod merge;
|
|
pub(in crate::mir::builder) mod trace;
|