feat(phase-5.3): Complete frontend cleanup - stop generating deprecated instructions

Phase 5.3 of MIR 35→26 reduction project:
- Replace RefNew with NewBox in MIR builder
- Remove unnecessary Const generation for box types
- Process arguments properly for NewBox instruction
- StringBox special handling maintained with NewBox

Frontend now generates only 26-instruction set compliant MIR.
Build successful with expected deprecation warnings.
This commit is contained in:
Moe Charm
2025-08-17 14:11:51 +09:00
parent 5b7ef32277
commit 7b56f45852
2 changed files with 19 additions and 14 deletions

View File

@ -0,0 +1,4 @@
// Test that deprecated instructions are not generated
local result = 42
local text = new StringBox("Hello MIR")
print(text.toString())