mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-08 06:08:16 +02:00
* fixed array to pointer conversion in i8086 far data memory models
git-svn-id: trunk@27683 -
This commit is contained in:
parent
a12e5406c7
commit
a17c04c3e0
@ -340,8 +340,8 @@ interface
|
||||
procedure tcgtypeconvnode.second_array_to_pointer;
|
||||
|
||||
begin
|
||||
location_reset(location,LOC_REGISTER,OS_ADDR);
|
||||
location.register:=cg.getaddressregister(current_asmdata.CurrAsmList);
|
||||
location_reset(location,LOC_REGISTER,def_cgsize(resultdef));
|
||||
location.register:=hlcg.getaddressregister(current_asmdata.CurrAsmList,resultdef);
|
||||
hlcg.a_loadaddr_ref_reg(current_asmdata.CurrAsmList,left.resultdef,resultdef,left.location.reference,location.register);
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user