mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 20:09:25 +02:00
* moved the insertion of the wasm locals asmlist to a local subroutine
This commit is contained in:
parent
0e39e7c12d
commit
e81cff0408
@ -674,12 +674,17 @@ implementation
|
||||
local.last:=true;
|
||||
end;
|
||||
|
||||
procedure insert_localslist(destlist,localslist: TAsmList);
|
||||
begin
|
||||
destlist.insertListAfter(findfirst_tai_functype(destlist),localslist);
|
||||
end;
|
||||
|
||||
var
|
||||
localslist: TAsmList;
|
||||
labels_resolved: Boolean;
|
||||
begin
|
||||
localslist:=prepare_locals;
|
||||
aktproccode.insertListAfter(findfirst_tai_functype(aktproccode),localslist);
|
||||
insert_localslist(aktproccode,localslist);
|
||||
localslist.Free;
|
||||
|
||||
replace_local_frame_pointer(aktproccode);
|
||||
|
Loading…
Reference in New Issue
Block a user