diff options
Diffstat (limited to 'compiler/ncgld.pas')
-rw-r--r-- | compiler/ncgld.pas | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/ncgld.pas b/compiler/ncgld.pas index 52cffae7d8..395569f7a3 100644 --- a/compiler/ncgld.pas +++ b/compiler/ncgld.pas @@ -749,7 +749,7 @@ implementation tmpreg : tregister; paraloc : tcgparalocation; begin - dovariant:=(nf_forcevaria in flags) or tarraydef(resulttype.def).isvariant; + dovariant:=(nf_forcevaria in flags) or is_variant_array(resulttype.def); if dovariant then elesize:=sizeof(aint)+sizeof(aint) else |