Browse Source

+ comment to explain last commit

florian 1 year ago
parent
commit
e88248d453
1 changed files with 2 additions and 0 deletions
  1. 2 0
      compiler/aoptobj.pas

+ 2 - 0
compiler/aoptobj.pas

@@ -1934,6 +1934,8 @@ Unit AoptObj;
                           repeat
                           repeat
                             with tai_label(tmp).labsym do
                             with tai_label(tmp).labsym do
                               begin
                               begin
+                                { alt_addr is needed so alignment directives before
+                                  jump tables e.g. for arm thumb are not removed }
                                 if not(labeltype in [alt_addr,alt_jump]) then
                                 if not(labeltype in [alt_addr,alt_jump]) then
                                   begin
                                   begin
                                     { Non-jump label - skip over }
                                     { Non-jump label - skip over }