Selfhosting Dev
3ac4a383e4
refactor(llvm): Modularize instructions.rs into focused submodules by ChatGPT
Successfully split the massive instructions.rs (1400+ lines) into organized submodules:
Structure:
- instructions/mod.rs - Module exports and wiring
- instructions/blocks.rs - Basic block creation and PHI setup
- instructions/flow.rs - Control flow (Return, Jump, Branch)
- instructions/externcall.rs - External call handling
- instructions/newbox.rs - NewBox operations
- instructions/boxcall.rs - BoxCall lowering (main dispatch)
- instructions/strings.rs - String fast-paths (concat, length)
- instructions/arrays.rs - Array operations (get/set/push/length)
- instructions/maps.rs - Map operations (size/get/set/has)
- instructions/arith.rs - Arithmetic operations (UnaryOp, BinOp, Compare)
- instructions/mem.rs - Memory operations (Load, Store)
- instructions/consts.rs - Constant value handling
Benefits:
- Improved maintainability (each file ~200-400 lines)
- Clear separation of concerns
- No behavior changes (pure refactoring)
- All existing smoke tests pass
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-11 23:58:10 +09:00
..
2025-08-18 08:34:19 +09:00
2025-09-07 07:28:53 +09:00
2025-09-11 23:58:10 +09:00
2025-09-08 01:41:05 +09:00
2025-09-03 05:04:56 +09:00
2025-09-03 13:58:52 +09:00
2025-09-01 23:44:34 +09:00
2025-08-26 04:34:14 +09:00
2025-09-04 11:34:15 +09:00
2025-08-26 04:34:14 +09:00
2025-09-03 05:04:56 +09:00
2025-09-07 07:36:15 +09:00
2025-09-04 11:34:15 +09:00
2025-09-04 11:34:15 +09:00
2025-09-04 03:41:02 +09:00
2025-09-06 06:24:08 +09:00
2025-09-04 03:41:02 +09:00
2025-09-04 06:27:39 +09:00
2025-08-26 01:07:23 +09:00
2025-09-06 12:33:00 +09:00
2025-08-28 09:26:58 +09:00
2025-09-06 06:24:08 +09:00
2025-09-04 11:34:15 +09:00
2025-09-11 16:24:18 +09:00