* use expectloc instead of location.loc in pass1

git-svn-id: trunk@4594 -
This commit is contained in:
Jonas Maebe 2006-09-09 22:06:46 +00:00
parent 97ce278e14
commit b9f32e1828

View File

@ -67,7 +67,7 @@ implementation
left_right_max;
{ a smallset needs maybe an misc. register }
if (left.nodetype<>ordconstn) and
not(right.location.loc in [LOC_CREGISTER,LOC_REGISTER]) and
not(right.expectloc in [LOC_CREGISTER,LOC_REGISTER]) and
(right.registersint<1) then
inc(registersint);
end;