瀏覽代碼

* fixes breakage of r17766, should resolve #19598

git-svn-id: trunk@17814 -
florian 14 年之前
父節點
當前提交
a6b2fcfe22
共有 1 個文件被更改,包括 1 次插入0 次删除
  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);
                           taicpu(hp1).loadConst(0,taicpu(p).oper[0]^.val and taicpu(hp1).oper[0]^.val);
                           asml.remove(p);
                           asml.remove(p);
                           p.free;
                           p.free;
+                          p:=hp1;
                         end
                         end
                       else
                       else
     {change "and x, reg; jxx" to "test x, reg", if reg is deallocated before the
     {change "and x, reg; jxx" to "test x, reg", if reg is deallocated before the