소스 검색

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

git-svn-id: trunk@25867 -
florian 12 년 전
부모
커밋
0eeb3e8d49
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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);