mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-19 17:11:41 +02:00
* insert the wasm locals asm list after resolve_labels_complex, since it will (in the future) be able to allocate more locals, in order to resolve the branches and goto
This commit is contained in:
parent
e81cff0408
commit
5b64e5b957
@ -684,8 +684,6 @@ implementation
|
||||
labels_resolved: Boolean;
|
||||
begin
|
||||
localslist:=prepare_locals;
|
||||
insert_localslist(aktproccode,localslist);
|
||||
localslist.Free;
|
||||
|
||||
replace_local_frame_pointer(aktproccode);
|
||||
|
||||
@ -695,6 +693,9 @@ implementation
|
||||
{$endif DEBUG_WASM_GOTO}
|
||||
resolve_labels_complex(aktproccode);
|
||||
|
||||
insert_localslist(aktproccode,localslist);
|
||||
localslist.Free;
|
||||
|
||||
inherited postprocess_code;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user