* x86: ConvertJumpToRET now sets the condition to C_None

This commit is contained in:
J. Gareth "Curious Kit" Moreton 2022-10-14 22:19:31 +01:00 committed by FPK
parent 6b77017cb9
commit 27aa4d4e34

View File

@ -10320,6 +10320,7 @@ unit aoptx86;
begin
ThisLabel := tasmlabel(taicpu(p).oper[0]^.ref^.symbol);
ThisLabel.decrefs;
taicpu(p).condition := C_None;
taicpu(p).opcode := A_RET;
taicpu(p).is_jmp := false;
taicpu(p).ops := taicpu(ret_p).ops;