ソースを参照

* changed the threadvars table count back from
tai_const.create_32bit_unaligned() into tai_const.create_32bit() after
r31649 (Lazarus autocompletion...) (fixes webtbs/tw3540.pp regression)

git-svn-id: trunk@31661 -

Jonas Maebe 10 年 前
コミット
381270bf30
1 ファイル変更1 行追加1 行削除
  1. 1 1
      compiler/ngenutil.pas

+ 1 - 1
compiler/ngenutil.pas

@@ -786,7 +786,7 @@ implementation
           inc(count);
           inc(count);
         end;
         end;
       { set the count at the start }
       { set the count at the start }
-      placeholder.replace(tai_const.Create_32bit_unaligned(count),u32inttype);
+      placeholder.replace(tai_const.Create_32bit(count),u32inttype);
       placeholder.free;
       placeholder.free;
       { insert in data segment }
       { insert in data segment }
       sym:=current_asmdata.DefineAsmSymbol('FPC_THREADVARTABLES',AB_GLOBAL,AT_DATA);
       sym:=current_asmdata.DefineAsmSymbol('FPC_THREADVARTABLES',AB_GLOBAL,AT_DATA);