mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-17 00:39:38 +02:00
* copy unique return value to address register on m68k
git-svn-id: trunk@5554 -
This commit is contained in:
parent
72c7d5b6c0
commit
84726ed76c
@ -637,7 +637,14 @@ implementation
|
||||
case left.location.loc of
|
||||
LOC_REGISTER,
|
||||
LOC_CREGISTER :
|
||||
location.reference.base:=left.location.register;
|
||||
begin
|
||||
{$ifdef m68k}
|
||||
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);
|
||||
{$else m68k}
|
||||
location.reference.base:=left.location.register;
|
||||
{$endif m68k}
|
||||
end;
|
||||
LOC_CREFERENCE,
|
||||
LOC_REFERENCE :
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user