mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-26 16:49:34 +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;
|
labels_resolved: Boolean;
|
||||||
begin
|
begin
|
||||||
localslist:=prepare_locals;
|
localslist:=prepare_locals;
|
||||||
insert_localslist(aktproccode,localslist);
|
|
||||||
localslist.Free;
|
|
||||||
|
|
||||||
replace_local_frame_pointer(aktproccode);
|
replace_local_frame_pointer(aktproccode);
|
||||||
|
|
||||||
@ -695,6 +693,9 @@ implementation
|
|||||||
{$endif DEBUG_WASM_GOTO}
|
{$endif DEBUG_WASM_GOTO}
|
||||||
resolve_labels_complex(aktproccode);
|
resolve_labels_complex(aktproccode);
|
||||||
|
|
||||||
|
insert_localslist(aktproccode,localslist);
|
||||||
|
localslist.Free;
|
||||||
|
|
||||||
inherited postprocess_code;
|
inherited postprocess_code;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user