* fixed handling of untyped const parameters

git-svn-id: branches/z80@44971 -
This commit is contained in:
nickysn 2020-04-21 19:19:17 +00:00
parent 7f409534a1
commit 0bbd140228

View File

@ -360,11 +360,11 @@ unit cpupara;
end
else
begin
paraloc^.def:=hp.vardef;
paraloc^.def:=paradef;
paraloc^.loc:=LOC_REFERENCE;
paraloc^.reference.index:=NR_STACK_POINTER_REG;
paraloc^.reference.offset:=stack_offset;
inc(stack_offset,hp.vardef.size);
inc(stack_offset,paradef.size);
end;
paralen:=0;
end;