Pārlūkot izejas kodu

* i386: Fixed detection of a peephole optimization using CMOV.

git-svn-id: trunk@32115 -
yury 9 gadi atpakaļ
vecāks
revīzija
6537b99ac3
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      compiler/i386/popt386.pas

+ 1 - 1
compiler/i386/popt386.pas

@@ -2066,7 +2066,7 @@ begin
                                   (taicpu(hp2).condition=C_None) and
                                   { real label and jump, no further references to the
                                     label are allowed }
-                                  (tasmlabel(taicpu(p).oper[0]^.ref^.symbol).getrefs=2) and
+                                  (tasmlabel(taicpu(p).oper[0]^.ref^.symbol).getrefs=1) and
                                   FindLabel(tasmlabel(taicpu(p).oper[0]^.ref^.symbol),hp1) then
                                    begin
                                      l:=0;