git-svn-id: branches/z80@45042 -
@@ -4170,7 +4170,10 @@ implementation
else if (ld.typ=classrefdef) then
begin
- expectloc:=LOC_FLAGS;
+ if ld.size>sizeof(aint) then
+ expectloc:=LOC_JUMP
+ else
+ expectloc:=LOC_FLAGS;
end
{ support procvar=nil,procvar<>nil }