2
0
Эх сурвалжийг харах

* ignore alignment entries in FindLabel

git-svn-id: trunk@22306 -
florian 13 жил өмнө
parent
commit
b6a4602989

+ 1 - 1
compiler/aoptobj.pas

@@ -929,7 +929,7 @@ Unit AoptObj;
       Begin
       Begin
         TempP := hp;
         TempP := hp;
         While Assigned(TempP) and
         While Assigned(TempP) and
-             (TempP.typ In SkipInstr + [ait_label]) Do
+             (TempP.typ In SkipInstr + [ait_label,ait_align]) Do
           If (TempP.typ <> ait_Label) Or
           If (TempP.typ <> ait_Label) Or
              (Tai_label(TempP).labsym <> L)
              (Tai_label(TempP).labsym <> L)
             Then GetNextInstruction(TempP, TempP)
             Then GetNextInstruction(TempP, TempP)