浏览代码

Merged revisions 2856 via svnmerge from
svn+ssh://[email protected]/FPC/svn/fpc/trunk

........
r2856 | jonas | 2006-03-11 15:16:11 +0100 (Sat, 11 Mar 2006) | 3 lines

* fixed assembler version of fpc_AnsiStr_Decr_Ref (based on remark
from Martin Schreiber)

........

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

Jonas Maebe 19 年之前
父节点
当前提交
139aa14a2b
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      rtl/i386/i386.inc

+ 2 - 2
rtl/i386/i386.inc

@@ -984,7 +984,7 @@ end;
 ****************************************************************************}
 
 
-{ do a thread save inc/dec }
+{ do a thread-safe inc/dec }
 {$define FPC_SYSTEM_HAS_DECLOCKED_LONGINT}
 function cpudeclocked(var l : longint) : boolean;assembler;nostackframe;
 
@@ -1090,7 +1090,7 @@ asm
 .Lj3610:
         movl    %edx,%eax
         call    cpudeclocked
-        movb    %al,%al
+        testb   %al,%al
         je      .Lj3605
 .Lj3620:
         movl    (%esp),%eax