Explorar o código

Merged revisions 327 via svnmerge from
/trunk

git-svn-id: branches/fixes_2_0@329 -

Jonas Maebe %!s(int64=20) %!d(string=hai) anos
pai
achega
a82b77cced
Modificáronse 1 ficheiros con 2 adicións e 3 borrados
  1. 2 3
      compiler/powerpc/nppcadd.pas

+ 2 - 3
compiler/powerpc/nppcadd.pas

@@ -778,6 +778,8 @@ interface
           subn :
             begin
               op:=OP_SUB;
+              if (nf_swaped in flags) then
+                swapleftright;
             end;
           ltn,lten,
           gtn,gten,
@@ -906,9 +908,6 @@ interface
                 end;
               subn:
                 begin
-                  if (nf_swaped in flags) then
-                    swapleftright;
-
                   if left.location.loc <> LOC_CONSTANT then
                     begin
                       if (location.register64.reglo = NR_NO) then