瀏覽代碼

* r24895 used wrong expression for swapping sides of comparison, and it went undetected by tests. Fixed.

git-svn-id: trunk@25007 -
sergei 12 年之前
父節點
當前提交
7a28815182
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      compiler/mips/cgcpu.pas

+ 1 - 1
compiler/mips/cgcpu.pas

@@ -1133,7 +1133,7 @@ begin
           if (reg2=NR_R0) then
             begin
               ai:=taicpu.op_reg_sym(A_BC,reg1,l);
-              ai.setcondition(inverse_cond(TOpCmp2AsmCond_z[cmp_op]));
+              ai.setcondition(TOpCmp2AsmCond_z[swap_opcmp(cmp_op)]);
             end
           else
             begin