Browse Source

* x86: ConvertJumpToRET now sets the condition to C_None

J. Gareth "Curious Kit" Moreton 2 years ago
parent
commit
27aa4d4e34
1 changed files with 1 additions and 0 deletions
  1. 1 0
      compiler/x86/aoptx86.pas

+ 1 - 0
compiler/x86/aoptx86.pas

@@ -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;