Parcourir la source

* ignore alignment entries in FindLabel

git-svn-id: trunk@22306 -
florian il y a 13 ans
Parent
commit
b6a4602989
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      compiler/aoptobj.pas

+ 1 - 1
compiler/aoptobj.pas

@@ -929,7 +929,7 @@ Unit AoptObj;
       Begin
         TempP := hp;
         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
              (Tai_label(TempP).labsym <> L)
             Then GetNextInstruction(TempP, TempP)