Преглед изворни кода

* 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;
            hp : tenumsym;
         begin
         begin
           current_asmdata.asmlists[al_rtti].concat(Tai_const.Create_8bit(tkEnumeration));
           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);
           write_rtti_name(def);
           if (tf_requires_proper_alignment in target_info.flags) then
           if (tf_requires_proper_alignment in target_info.flags) then
             current_asmdata.asmlists[al_rtti].concat(Cai_align.Create(sizeof(TConstPtrUInt)));
             current_asmdata.asmlists[al_rtti].concat(Cai_align.Create(sizeof(TConstPtrUInt)));