mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-06-07 02:58:32 +02:00
* the type of tvarrec fields that are passed by address is already a pointer
-> don't make a double pointer git-svn-id: trunk@32245 -
This commit is contained in:
parent
f4cf58739f
commit
22d8b273bd
@ -1334,7 +1334,7 @@ implementation
|
|||||||
hlcg.location_force_mem(current_asmdata.CurrAsmList,hp.left.location,lt);
|
hlcg.location_force_mem(current_asmdata.CurrAsmList,hp.left.location,lt);
|
||||||
tmpreg:=hlcg.getaddressregister(current_asmdata.CurrAsmList,cpointerdef.getreusable(lt));
|
tmpreg:=hlcg.getaddressregister(current_asmdata.CurrAsmList,cpointerdef.getreusable(lt));
|
||||||
hlcg.a_loadaddr_ref_reg(current_asmdata.CurrAsmList,hp.left.resultdef,cpointerdef.getreusable(lt),hp.left.location.reference,tmpreg);
|
hlcg.a_loadaddr_ref_reg(current_asmdata.CurrAsmList,hp.left.resultdef,cpointerdef.getreusable(lt),hp.left.location.reference,tmpreg);
|
||||||
hlcg.a_load_reg_ref(current_asmdata.CurrAsmList,cpointerdef.getreusable(lt),cpointerdef.getreusable(varfield.vardef),tmpreg,fref);
|
hlcg.a_load_reg_ref(current_asmdata.CurrAsmList,cpointerdef.getreusable(lt),varfield.vardef,tmpreg,fref);
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
hlcg.a_load_loc_ref(current_asmdata.CurrAsmList,hp.left.resultdef,varfield.vardef,hp.left.location,fref);
|
hlcg.a_load_loc_ref(current_asmdata.CurrAsmList,hp.left.resultdef,varfield.vardef,hp.left.location,fref);
|
||||||
|
Loading…
Reference in New Issue
Block a user