Преглед на файлове

* fix possible use of invalid tai after an ait_cutobject

git-svn-id: trunk@4482 -
peter преди 19 години
родител
ревизия
f668e4f012
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      compiler/i386/ag386nsm.pas

+ 1 - 1
compiler/i386/ag386nsm.pas

@@ -744,7 +744,7 @@ interface
                   hp:=tai(hp.next);
                 end;
                if lasTSectype<>sec_none then
-                 WriteSection(tai_section(hp).sectype,tai_section(hp).name^);
+                 WriteSection(lasTSectype,'');
                AsmStartSize:=AsmSize;
              end;