tomoaki
14ff126934
refactor(joinir): Phase 286C-5 Step 1 - CarrierInputsCollector Box extraction
Extract duplicated carrier_inputs collection logic into a dedicated Box:
**DRY Achievement**:
- Remove duplication between Return fallback (lines 740-763) and ExitJump
handling (lines 876-909)
- Single source of truth for carrier PHI fallback logic
- Reduced code size by ~30 lines (60 duplicated → 30 unified)
**Box Structure**:
- CarrierInputsCollector: Encapsulates carrier PHI collection from header
- Input: boundary + loop_header_phi_info
- Output: Vec<(carrier_name, block_id, value_id)>
- Filters ConditionOnly carriers automatically
- Handles DirectValue fallback to host_slot
**Files Modified**:
- instruction_rewriter.rs: Replace 2 inline blocks with Box calls
- carrier_inputs_collector.rs: New Box implementation (95 lines)
- rewriter/mod.rs: Export new module
**Contract Preserved**:
- Identical logic: ConditionOnly filter → header PHI → DirectValue fallback
- Same logging output format
- No behavior change, pure refactoring
Phase 286C-5 progress: 1/4 steps complete
Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-25 05:16:22 +09:00
..
2025-12-25 05:16:22 +09:00
2025-12-24 17:21:21 +09:00
2025-11-21 06:25:17 +09:00
2025-12-08 23:43:26 +09:00
2025-12-21 04:34:22 +09:00
2025-11-30 04:35:40 +09:00
2025-12-25 02:15:40 +09:00
2025-12-24 03:44:56 +09:00
2025-12-11 20:54:33 +09:00
2025-12-20 11:01:48 +09:00
2025-12-21 11:49:03 +09:00
2025-11-30 14:30:28 +09:00
2025-12-21 05:47:37 +09:00
2025-12-21 04:34:22 +09:00
2025-12-22 14:48:37 +09:00
2025-12-24 03:17:30 +09:00
2025-12-21 04:34:22 +09:00
2025-12-22 15:34:03 +09:00
2025-12-21 04:34:22 +09:00
2025-12-23 00:11:20 +09:00
2025-11-21 06:25:17 +09:00
2025-12-21 09:39:20 +09:00
2025-12-13 05:34:56 +09:00
2025-12-25 00:11:34 +09:00
2025-12-07 23:45:55 +09:00
2025-12-21 12:49:53 +09:00
2025-12-03 13:59:06 +09:00
2025-12-21 04:34:22 +09:00
2025-12-25 00:11:34 +09:00
2025-12-15 22:03:34 +09:00
2025-09-17 07:43:07 +09:00
2025-12-21 04:34:22 +09:00
2025-12-24 07:44:50 +09:00
2025-12-16 07:02:14 +09:00
2025-12-21 04:34:22 +09:00
2025-11-24 14:17:02 +09:00
2025-12-22 15:34:03 +09:00
2025-11-24 14:17:02 +09:00
2025-09-17 07:43:07 +09:00
2025-12-21 04:34:22 +09:00
2025-12-24 03:17:30 +09:00
2025-12-05 19:39:54 +09:00
2025-12-20 03:20:55 +09:00
2025-09-24 09:30:42 +09:00
2025-11-24 15:02:51 +09:00
2025-12-24 03:17:30 +09:00
2025-11-17 09:45:03 +09:00
2025-11-24 15:02:51 +09:00
2025-11-21 06:25:17 +09:00
2025-12-20 23:30:27 +09:00