mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 04:06:08 +02:00
* also handle call nodes when determining the generic symbol for inline specializations
git-svn-id: trunk@47999 -
This commit is contained in:
parent
f42b39a7b5
commit
a65d778f73
@ -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 }
|
||||
|
Loading…
Reference in New Issue
Block a user