+ subsetref support

git-svn-id: trunk@4492 -
This commit is contained in:
Jonas Maebe 2006-08-23 17:59:02 +00:00
parent 0be55cf230
commit 6845c1e05a

View File

@ -239,7 +239,7 @@ unit nx86add;
tmpreg : tregister;
{$endif x86_64}
begin
if (right.location.loc in [LOC_CSUBSETREG,LOC_SUBSETREG]) then
if (right.location.loc in [LOC_CSUBSETREG,LOC_SUBSETREG,LOC_SUBSETREF,LOC_CSUBSETREF]) then
location_force_reg(current_asmdata.CurrAsmList,right.location,def_cgsize(right.resulttype.def),true);
{ left must be a register }
case right.location.loc of