mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-28 07:31:13 +01:00
Avoid generation of invalid 'cb(n)z sp,label' instruction
This commit is contained in:
parent
cfbdf90ab0
commit
cd8aa3f0e0
@ -996,6 +996,7 @@ Implementation
|
||||
cb(n)z reg0,label
|
||||
}
|
||||
if MatchOpType(taicpu(p),top_reg,top_const) and
|
||||
(taicpu(p).oper[0]^.reg<>NR_SP) and
|
||||
(taicpu(p).oper[1]^.val=0) and
|
||||
GetNextInstruction(p,hp1) and
|
||||
MatchInstruction(hp1,A_B,[PF_None]) and
|
||||
|
||||
Loading…
Reference in New Issue
Block a user