* fix m68k IE after e9acd759, patch by Yuriy Sydorov

This commit is contained in:
Karoly Balogh 2021-12-13 16:14:59 +01:00
parent 453f45fa1f
commit 06da0b3db6

View File

@ -146,6 +146,7 @@ unit rgcpu;
begin
{ source can be replaced if dest is register... }
if ((instr.oper[1]^.typ=top_reg) and
(getregtype(instr.oper[1]^.reg)=regtype) and
(get_alias(getsupreg(instr.oper[1]^.reg))<>orgreg) and
((instr.opcode=A_MOVE) or (instr.opcode=A_ADD) or (instr.opcode=A_SUB) or
(instr.opcode=A_AND) or (instr.opcode=A_OR) or (instr.opcode=A_CMP))) or