mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-24 22:39:11 +02:00
* make temps which are passed as the location for the function
result of functions which return their result in a temp not regable git-svn-id: trunk@4662 -
This commit is contained in:
parent
e55d6d7145
commit
e9580628d3
@ -766,6 +766,7 @@ implementation
|
||||
is_ansistring(right.resulttype.def) or
|
||||
is_widestring(right.resulttype.def)) then
|
||||
begin
|
||||
make_not_regable(left,vr_addr);
|
||||
tcallnode(right).funcretnode := left;
|
||||
result := right;
|
||||
left := nil;
|
||||
|
Loading…
Reference in New Issue
Block a user