* also handle call nodes when determining the generic symbol for inline specializations

git-svn-id: trunk@47999 -
This commit is contained in:
svenbarth 2021-01-02 23:23:24 +00:00
parent f42b39a7b5
commit a65d778f73

View File

@ -3567,6 +3567,8 @@ implementation
idstr:=ttypenode(tloadvmtaddrnode(p1).left).typesym.name;
loadn:
idstr:=tloadnode(p1).symtableentry.name;
calln:
idstr:=tcallnode(p1).symtableprocentry.name;
else
;
end;
@ -4231,6 +4233,8 @@ implementation
loadn:
if not searchsym_with_symoption(tloadnode(n).symtableentry.Name,srsym,srsymtable,sp_generic_dummy) then
srsym:=nil;
calln:
srsym:=tcallnode(n).symtableprocentry;
specializen:
srsym:=tspecializenode(n).sym;
{ TODO : handle const nodes }