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

* Do not align TTypeInfo.Name field in enumdef_rtti since TTypeInfo record is defined with {$PACKRECORDS 1}. It fixes tw8660 for ARM.

git-svn-id: trunk@10767 -
yury преди 17 години
родител
ревизия
d26d792e7b
променени са 1 файла, в които са добавени 0 реда и са изтрити 1 реда
  1. 0 1
      compiler/ncgrtti.pas

+ 0 - 1
compiler/ncgrtti.pas

@@ -393,7 +393,6 @@ implementation
            hp : tenumsym;
         begin
           current_asmdata.asmlists[al_rtti].concat(Tai_const.Create_8bit(tkEnumeration));
-          current_asmdata.asmlists[al_rtti].concat(Cai_align.Create(cshortstringtype.alignment));	  
           write_rtti_name(def);
           if (tf_requires_proper_alignment in target_info.flags) then
             current_asmdata.asmlists[al_rtti].concat(Cai_align.Create(sizeof(TConstPtrUInt)));