* registers of references aren't reused so we can safe a mov

git-svn-id: trunk@5411 -
This commit is contained in:
florian 2006-11-16 22:26:03 +00:00
parent 9905e6d7ff
commit ac5b260ec2

View File

@ -224,6 +224,7 @@ interface
begin
location_reset(location,LOC_REFERENCE,OS_NO);
case left.location.loc of
LOC_CREGISTER,
LOC_REGISTER :
begin
{$ifdef cpu_uses_separate_address_registers}
@ -237,12 +238,6 @@ interface
{$endif}
location.reference.base := left.location.register;
end;
LOC_CREGISTER :
begin
location.reference.base:=cg.getaddressregister(current_asmdata.CurrAsmList);
cg.a_load_reg_reg(current_asmdata.CurrAsmList,OS_ADDR,OS_ADDR,left.location.register,
location.reference.base);
end;
LOC_REFERENCE,
LOC_CREFERENCE :
begin