* Fixed r46801 for the case of int64 params with a single paralocation.

git-svn-id: trunk@46802 -
This commit is contained in:
yury 2020-09-08 20:17:50 +00:00
parent e159c92967
commit d34168742e

View File

@ -633,7 +633,7 @@ implementation
Spilling of sub registers is supported for x86.
}
if regsize>tcgsize2size[paraloc^.Size] then
if (paraloc<>nil) and (regsize>tcgsize2size[paraloc^.Size]) then
break;
{$endif x86}
cg.rg[regtype].set_reg_initial_location(reg,loc.reference);