소스 검색

* fixed tlist overflow in some corner cases when fixing up jumps

git-svn-id: trunk@2342 -
Jonas Maebe 19 년 전
부모
커밋
4fcc98fbf9
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      compiler/powerpc64/aasmcpu.pas

+ 1 - 1
compiler/powerpc64/aasmcpu.pas

@@ -480,7 +480,7 @@ begin
     begin
       if p.typ = ait_label then
         begin
-          if (tai_label(p).l.labelnr > labelpositions.count) then
+          if (tai_label(p).l.labelnr >= labelpositions.count) then
             labelpositions.count := tai_label(p).l.labelnr * 2;
           labelpositions[tai_label(p).l.labelnr] := pointer(instrpos);
         end;