mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-16 11:23:23 +02:00
* make_not_regable() now also works on temprefnodes
git-svn-id: trunk@4661 -
This commit is contained in:
parent
43054b826c
commit
e55d6d7145
@ -661,6 +661,11 @@ implementation
|
||||
tabstractvarsym(tloadnode(p).symtableentry).varregable:=how
|
||||
else
|
||||
tabstractvarsym(tloadnode(p).symtableentry).varregable:=vr_none;
|
||||
temprefn :
|
||||
if (ttemprefnode(p).tempinfo^.may_be_in_reg) and
|
||||
((not records_only) or
|
||||
(ttemprefnode(p).tempinfo^.restype.def.deftype = recorddef)) then
|
||||
ttemprefnode(p).tempinfo^.may_be_in_reg:=false;
|
||||
end;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user