From 7d049c2c8d043f510c20aa82946dff8302fb6186 Mon Sep 17 00:00:00 2001 From: Jonas Maebe Date: Thu, 13 May 2010 10:42:10 +0000 Subject: [PATCH] * fixed typo in comment git-svn-id: trunk@15264 - --- compiler/cgobj.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/cgobj.pas b/compiler/cgobj.pas index 6167d2f33b..04c4f02c2b 100644 --- a/compiler/cgobj.pas +++ b/compiler/cgobj.pas @@ -1717,7 +1717,7 @@ implementation end else begin - { Y-x = -(Y-x) } + { Y-x = -(x-Y) } a_op_const_reg_reg(list,OP_SUB,OS_INT,loadbitsize,sref.bitindexreg,tmpindexreg); a_op_reg_reg(list,OP_NEG,OS_INT,tmpindexreg,tmpindexreg); a_load_const_reg(list,OS_INT,aint((aword(1) shl sref.bitlen)-1),maskreg);