瀏覽代碼

Merged revisions 327 via svnmerge from
/trunk

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

Jonas Maebe 20 年之前
父節點
當前提交
a82b77cced
共有 1 個文件被更改,包括 2 次插入3 次删除
  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