Browse Source

* 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 năm trước cách đây
mục cha
commit
d26d792e7b
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  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)));