mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-02 07:49:32 +01:00
+ Removed FPC_ALIGNSRTTI define
git-svn-id: trunk@251 -
This commit is contained in:
parent
b1b3e0ea6f
commit
7712d4e2d1
@ -80,9 +80,7 @@ procedure fpc_dynarray_clear_internal(p : pointer;ti : pointer);
|
||||
{ skip kind and name }
|
||||
inc(pointer(ti),ord(pdynarraytypeinfo(ti)^.namelen)+2);
|
||||
|
||||
{$ifdef FPC_ALIGNSRTTI}
|
||||
ti:=aligntoptr(ti);
|
||||
{$endif FPC_ALIGNSRTTI}
|
||||
|
||||
elesize:=psizeint(ti)^;
|
||||
eletype:=pdynarraytypeinfo(pointer(pdynarraytypeinfo(pointer(ti)+sizeof(sizeint)))^);
|
||||
@ -181,9 +179,7 @@ procedure fpc_dynarray_setlength(var p : pointer;pti : pointer;
|
||||
{ skip kind and name }
|
||||
inc(pointer(ti),ord(pdynarraytypeinfo(ti)^.namelen)+2);
|
||||
|
||||
{$ifdef FPC_ALIGNSRTTI}
|
||||
ti:=aligntoptr(ti);
|
||||
{$endif FPC_ALIGNSRTTI}
|
||||
|
||||
elesize:=psizeint(ti)^;
|
||||
eletype:=pdynarraytypeinfo(pointer(pdynarraytypeinfo(pointer(ti)+sizeof(sizeint)))^);
|
||||
@ -333,9 +329,7 @@ procedure fpc_dynarray_copy(var pdest : pointer;psrc : pointer;ti : pointer;
|
||||
{ skip kind and name }
|
||||
inc(pointer(ti),ord(pdynarraytypeinfo(ti)^.namelen)+2);
|
||||
|
||||
{$ifdef FPC_ALIGNSRTTI}
|
||||
ti:=aligntoptr(ti);
|
||||
{$endif FPC_ALIGNSRTTI}
|
||||
|
||||
elesize:=psizeint(ti)^;
|
||||
eletype:=pdynarraytypeinfo(pointer(pdynarraytypeinfo(pointer(ti)+sizeof(sizeint)))^);
|
||||
|
||||
@ -530,9 +530,7 @@
|
||||
inc(Temp);
|
||||
I:=Temp^;
|
||||
inc(temp,I+1); // skip name string;
|
||||
{$ifdef FPC_ALIGNSRTTI}
|
||||
temp:=aligntoptr(temp);
|
||||
{$endif FPC_ALIGNSRTTI}
|
||||
{$ifdef FPC_REQUIRES_PROPER_ALIGNMENT}
|
||||
move(PRecRec(Temp)^.Count,Count,sizeof(Count));
|
||||
{$else FPC_REQUIRES_PROPER_ALIGNMENT}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user