mirror of
https://github.com/irmen/prog8.git
synced 2026-11-22 19:24:41 +00:00
appendSpillSlotsToFrame() now builds a per-subroutine type map because renumberVregsPerSubroutine() reuses vreg numbers across subroutines with different types. Using the global virtualRegisterTypes map caused spilled pointer vregs to be sized as byte/word, producing unaligned stack slots like -9(a5) and crashing 68000 / corrupting saved registers on 68020.