mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-18 05:00:07 +02:00
+ write/read alignment to ppu for explicit parameter locations
git-svn-id: trunk@12765 -
This commit is contained in:
parent
344ccfce72
commit
6911b70dc4
@ -1299,6 +1299,7 @@ implementation
|
||||
paraloc[callerside].init;
|
||||
if vo_has_explicit_paraloc in varoptions then
|
||||
begin
|
||||
paraloc[callerside].alignment:=ppufile.getbyte;
|
||||
b:=ppufile.getbyte;
|
||||
if b<>sizeof(paraloc[callerside].location^) then
|
||||
internalerror(200411154);
|
||||
@ -1328,6 +1329,7 @@ implementation
|
||||
if vo_has_explicit_paraloc in varoptions then
|
||||
begin
|
||||
paraloc[callerside].check_simple_location;
|
||||
ppufile.putbyte(sizeof(paraloc[callerside].alignment));
|
||||
ppufile.putbyte(sizeof(paraloc[callerside].location^));
|
||||
ppufile.putdata(paraloc[callerside].location^,sizeof(paraloc[callerside].location^));
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user