Sfoglia il codice sorgente

* check if the pointer is really assigned when trying to remove unneeded jumps

git-svn-id: trunk@25867 -
florian 11 anni fa
parent
commit
0eeb3e8d49
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      compiler/aoptobj.pas

+ 1 - 1
compiler/aoptobj.pas

@@ -1379,7 +1379,7 @@ Unit AoptObj;
                               p:=hp2;
                               continue;
                             end
-                          else
+                          else if assigned(hp1) then
                             begin
                               if hp1.typ = ait_label then
                                 SkipLabels(hp1,hp1);