git-svn-id: branches/z80@45043 -
@@ -4180,7 +4180,11 @@ implementation
else if ((ld.typ=procvardef) and (rt=niln)) or
((rd.typ=procvardef) and (lt=niln)) then
begin
- expectloc:=LOC_FLAGS;
+ if (ld.typ=procvardef) and (tprocvardef(ld).size>sizeof(aint)) or
+ (rd.typ=procvardef) and (tprocvardef(rd).size>sizeof(aint)) then
+ expectloc:=LOC_JUMP
+ else
+ expectloc:=LOC_FLAGS;
end
{$ifdef SUPPORT_MMX}