mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-09 22:48:57 +02:00
* Use a register alias while handling reg deallocs in trgobj.instr_spill_register()
to be in sync with commit b96057ad
.
This commit is contained in:
parent
ba9a8ab069
commit
61cf121533
@ -2820,7 +2820,7 @@ unit rgobj;
|
||||
belong to the previous instruction and not the current instruction }
|
||||
if (tai_regalloc(loadpos).instr=instr) and
|
||||
(tai_regalloc(loadpos).ratype=ra_dealloc) then
|
||||
live_registers.add(getsupreg(tai_regalloc(loadpos).reg));
|
||||
live_registers.add(get_alias(getsupreg(tai_regalloc(loadpos).reg)));
|
||||
loadpos:=tai(loadpos.previous);
|
||||
end;
|
||||
loadpos:=tai(loadpos.next);
|
||||
|
Loading…
Reference in New Issue
Block a user