* 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:
Jonas Maebe 2006-09-20 09:09:35 +00:00
parent e55d6d7145
commit e9580628d3

View File

@ -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;