* fixed inverted condition in r16052 that could cause superfluous parameter

copies (and missing parameter copies, although that was less likely)

git-svn-id: trunk@16053 -
This commit is contained in:
Jonas Maebe 2010-09-27 14:23:08 +00:00
parent 6094cb79dc
commit e6c09430cb

View File

@ -544,8 +544,8 @@ implementation
end;
LOC_REFERENCE:
begin
if skipiffinalloc and
paramanager.is_stack_paraloc(callerparaloc) then
if not(skipiffinalloc and
paramanager.is_stack_paraloc(callerparaloc)) then
begin
{ Can't have a data copied to the stack, every location
must contain a valid size field }