mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-13 07:34:28 +02:00
* fixed 'array of const' in the i8086 tiny/small/medium memory models
git-svn-id: trunk@32212 -
This commit is contained in:
parent
a55b728d34
commit
94a5364c2c
@ -1351,7 +1351,7 @@ implementation
|
||||
hlcg.a_load_reg_ref(current_asmdata.CurrAsmList,cpointerdef.getreusable(lt),cpointerdef.getreusable(varfield.vardef),tmpreg,fref);
|
||||
end
|
||||
else
|
||||
hlcg.a_load_loc_ref(current_asmdata.CurrAsmList,hp.left.resultdef,cpointerdef.getreusable(varfield.vardef),hp.left.location,fref);
|
||||
hlcg.a_load_loc_ref(current_asmdata.CurrAsmList,hp.left.resultdef,varfield.vardef,hp.left.location,fref);
|
||||
{ update href to the vtype field and write it }
|
||||
fref:=href;
|
||||
hlcg.g_set_addr_nonbitpacked_record_field_ref(current_asmdata.CurrAsmList,trecorddef(eledef),varvtypefield,fref);
|
||||
|
Loading…
Reference in New Issue
Block a user