Explorar o código

+ subsetref support

git-svn-id: trunk@4492 -
Jonas Maebe %!s(int64=19) %!d(string=hai) anos
pai
achega
6845c1e05a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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