* fixed some unnecessary moving of values from cregister to register

after r7831

git-svn-id: trunk@15502 -
This commit is contained in:
Jonas Maebe 2010-06-30 19:53:15 +00:00
parent daef2efa69
commit fff903a00b

View File

@ -207,10 +207,10 @@ unit nx86add;
end;
end;
if (right.location.loc<>LOC_CONSTANT) and
(tcgsize2unsigned[right.location.size]<>opsize) then
(tcgsize2unsigned[right.location.size]<>tcgsize2unsigned[opsize]) then
location_force_reg(current_asmdata.CurrAsmList,right.location,opsize,true);
if (left.location.loc<>LOC_CONSTANT) and
(tcgsize2unsigned[left.location.size]<>opsize) then
(tcgsize2unsigned[left.location.size]<>tcgsize2unsigned[opsize]) then
location_force_reg(current_asmdata.CurrAsmList,left.location,opsize,false);
end;