* replaced ifdef i8086 with hlcg.reference_reset_base in tcgloadnode.pass_generate_code

git-svn-id: trunk@27327 -
This commit is contained in:
nickysn 2014-03-28 23:38:57 +00:00
parent 891ab86254
commit 7f014c5040

View File

@ -463,11 +463,7 @@ implementation
location_reset_ref(location,LOC_REFERENCE,newsize,resultdef.alignment)
else
location_reset_ref(location,LOC_REFERENCE,newsize,1);
location.reference.base:=hregister;
{$ifdef i8086}
if current_settings.x86memorymodel in x86_far_data_models then
location.reference.segment:=GetNextReg(hregister);
{$endif i8086}
hlcg.reference_reset_base(location.reference,voidpointertype,hregister,0,location.reference.alignment);
end;
{ make const a LOC_CREFERENCE }