mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-05 10:12:47 +02:00
* range check for spilltemp.offset in [-128..127], not [0..63] in trgcpu.do_spill_replace for Z80
git-svn-id: branches/z80@44534 -
This commit is contained in:
parent
8291d24b7f
commit
8ceee70912
@ -158,7 +158,7 @@ unit rgcpu;
|
||||
b : byte;
|
||||
begin
|
||||
result:=false;
|
||||
if not(spilltemp.offset in [0..63]) then
|
||||
if not(spilltemp.offset in [-128..127]) then
|
||||
exit;
|
||||
|
||||
{ Replace 'mov dst,orgreg' with 'ld dst,spilltemp'
|
||||
|
Loading…
Reference in New Issue
Block a user