Pārlūkot izejas kodu

* fixes breakage of r17766, should resolve #19598

git-svn-id: trunk@17814 -
florian 14 gadi atpakaļ
vecāks
revīzija
a6b2fcfe22
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      compiler/i386/popt386.pas

+ 1 - 0
compiler/i386/popt386.pas

@@ -726,6 +726,7 @@ begin
                           taicpu(hp1).loadConst(0,taicpu(p).oper[0]^.val and taicpu(hp1).oper[0]^.val);
                           asml.remove(p);
                           p.free;
+                          p:=hp1;
                         end
                       else
     {change "and x, reg; jxx" to "test x, reg", if reg is deallocated before the