mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 16:09:25 +02:00
Make sure to set alignment of new temp slot to new value
git-svn-id: trunk@38954 -
This commit is contained in:
parent
ba2c06a239
commit
1a23672e7b
@ -395,13 +395,13 @@ implementation
|
|||||||
{ Create new block and resize the old block }
|
{ Create new block and resize the old block }
|
||||||
tl^.fini:=fini;
|
tl^.fini:=fini;
|
||||||
tl^.size:=size;
|
tl^.size:=size;
|
||||||
tl^.alignment:=alignment;
|
|
||||||
tl^.nextfree:=nil;
|
tl^.nextfree:=nil;
|
||||||
{ Resize the old block }
|
{ Resize the old block }
|
||||||
dec(bestslot^.size,size);
|
dec(bestslot^.size,size);
|
||||||
end;
|
end;
|
||||||
tl^.temptype:=temptype;
|
tl^.temptype:=temptype;
|
||||||
tl^.def:=def;
|
tl^.def:=def;
|
||||||
|
tl^.alignment:=alignment;
|
||||||
tl^.nextfree:=nil;
|
tl^.nextfree:=nil;
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user