* only check trecorddef(self).contains_cross_aword_field (for checking

whether the record can be kept in a register) after determining that the
    record is < 2*sizeof(aword) (it's a much more expensive check, especially
    for big records)

git-svn-id: trunk@33190 -
This commit is contained in:
Jonas Maebe 2016-03-06 14:16:38 +00:00
parent c564acd378
commit 3e59c05ecc

View File

@ -2116,8 +2116,8 @@ implementation
recsize:=size;
is_intregable:=
ispowerof2(recsize,temp) and
not trecorddef(self).contains_cross_aword_field and
((recsize<=sizeof(aint)*2) and
not trecorddef(self).contains_cross_aword_field and
{ records cannot go into registers on 16 bit targets for now }
(sizeof(aint)>2) and
(not trecorddef(self).contains_float_field) or