mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 05:08:06 +02:00
* set the last=true property of the last tai_local in the locals list in the
beginning of insert_localslist, instead of in the end of prepare_locals
This commit is contained in:
parent
5b64e5b957
commit
8b00598cab
@ -670,13 +670,15 @@ implementation
|
||||
l:=l.nextseq;
|
||||
Inc(FFirstFreeLocal);
|
||||
end;
|
||||
if assigned(local) then
|
||||
local.last:=true;
|
||||
end;
|
||||
|
||||
procedure insert_localslist(destlist,localslist: TAsmList);
|
||||
begin
|
||||
destlist.insertListAfter(findfirst_tai_functype(destlist),localslist);
|
||||
if assigned(localslist) then
|
||||
begin
|
||||
tai_local(localslist.Last).last:=true;
|
||||
destlist.insertListAfter(findfirst_tai_functype(destlist),localslist);
|
||||
end;
|
||||
end;
|
||||
|
||||
var
|
||||
|
Loading…
Reference in New Issue
Block a user