mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-08 10:59:10 +02:00
* hlgcodegen needed when creating module info (fixes AV)
This commit is contained in:
parent
312cf246ad
commit
3302dae600
@ -173,6 +173,7 @@ implementation
|
||||
thlcgwasm(hlcg).g_procdef(list,proc);
|
||||
end;
|
||||
end;
|
||||
create_hlcodegen;
|
||||
InsertModuleInfo(list,current_module);
|
||||
cur_unit:=tused_unit(usedunits.First);
|
||||
while assigned(cur_unit) do
|
||||
@ -180,6 +181,7 @@ implementation
|
||||
InsertModuleInfo(list,cur_unit.u);
|
||||
cur_unit:=tused_unit(cur_unit.Next);
|
||||
end;
|
||||
destroy_hlcodegen;
|
||||
|
||||
modules.Free;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user