mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 16:09:23 +02:00
* fixed compilation of threadvars in i8086 far data memory models
git-svn-id: trunk@31662 -
This commit is contained in:
parent
381270bf30
commit
c7ecf84fc0
@ -322,7 +322,7 @@ implementation
|
|||||||
|
|
||||||
{ load the address of the result in hregister }
|
{ load the address of the result in hregister }
|
||||||
hregister:=hlcg.getaddressregister(current_asmdata.CurrAsmList,fieldptrdef);
|
hregister:=hlcg.getaddressregister(current_asmdata.CurrAsmList,fieldptrdef);
|
||||||
location_reset(tmpresloc,LOC_REGISTER,OS_ADDR);
|
location_reset(tmpresloc,LOC_REGISTER,def_cgsize(fieldptrdef));
|
||||||
tmpresloc.register:=hregister;
|
tmpresloc.register:=hregister;
|
||||||
hlcg.gen_load_cgpara_loc(current_asmdata.CurrAsmList,fieldptrdef,respara,tmpresloc,true);
|
hlcg.gen_load_cgpara_loc(current_asmdata.CurrAsmList,fieldptrdef,respara,tmpresloc,true);
|
||||||
respara.resetiftemp;
|
respara.resetiftemp;
|
||||||
|
Loading…
Reference in New Issue
Block a user