mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 19:49:31 +02:00
* WebAssembly: fixed crash when attempting to generate a functype directive for
a generic function
This commit is contained in:
parent
7ce2f95db0
commit
54d65ff75c
@ -2459,7 +2459,8 @@ implementation
|
||||
|
||||
procedure thlcgwasm.g_procdef(list: TAsmList; pd: tprocdef);
|
||||
begin
|
||||
list.Concat(tai_functype.create(pd.mangledname,tcpuprocdef(pd).create_functype));
|
||||
if not pd.is_generic then
|
||||
list.Concat(tai_functype.create(pd.mangledname,tcpuprocdef(pd).create_functype));
|
||||
end;
|
||||
|
||||
procedure thlcgwasm.g_maybe_checkforexceptions(list: TasmList);
|
||||
|
Loading…
Reference in New Issue
Block a user