Bladeren bron

+ subsetref support

git-svn-id: trunk@4492 -
Jonas Maebe 19 jaren geleden
bovenliggende
commit
6845c1e05a
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      compiler/x86/nx86add.pas

+ 1 - 1
compiler/x86/nx86add.pas

@@ -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