* Fix read/write enum on cpu's requiring alignment: Call 'align' the proper way.

git-svn-id: trunk@10351 -
This commit is contained in:
daniel 2008-02-17 21:43:39 +00:00
parent 203331cc3a
commit 3540c400dc

View File

@ -936,10 +936,10 @@ implementation
else
inc(st);
if (tf_requires_proper_alignment in target_info.flags) then
align(st,sizeof(Tconstptruint));
st:=align(st,sizeof(Tconstptruint));
inc(st);
if (tf_requires_proper_alignment in target_info.flags) then
align(st,sizeof(Tconstptruint));
st:=align(st,sizeof(Tconstptruint));
inc(st,8+sizeof(pint));
{ write rtti data }
with current_asmdata do
@ -1042,10 +1042,10 @@ implementation
else
inc(st);
if (tf_requires_proper_alignment in target_info.flags) then
align(st,sizeof(Tconstptruint));
st:=align(st,sizeof(Tconstptruint));
inc(st);
if (tf_requires_proper_alignment in target_info.flags) then
align(st,sizeof(Tconstptruint));
st:=align(st,sizeof(Tconstptruint));
inc(st,8+sizeof(pint));
{ write rtti data }
with current_asmdata do