mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-10-25 01:51:41 +02:00
* fixed assembler version of fpc_AnsiStr_Decr_Ref (based on remark
from Martin Schreiber) git-svn-id: trunk@2856 -
This commit is contained in:
parent
4ed39b0c16
commit
83b1c3736a
@ -984,7 +984,7 @@ end;
|
|||||||
****************************************************************************}
|
****************************************************************************}
|
||||||
|
|
||||||
|
|
||||||
{ do a thread save inc/dec }
|
{ do a thread-safe inc/dec }
|
||||||
{$define FPC_SYSTEM_HAS_DECLOCKED_LONGINT}
|
{$define FPC_SYSTEM_HAS_DECLOCKED_LONGINT}
|
||||||
function cpudeclocked(var l : longint) : boolean;assembler;nostackframe;
|
function cpudeclocked(var l : longint) : boolean;assembler;nostackframe;
|
||||||
|
|
||||||
@ -1093,7 +1093,7 @@ asm
|
|||||||
.Lj3610:
|
.Lj3610:
|
||||||
movl %edx,%eax
|
movl %edx,%eax
|
||||||
call cpudeclocked
|
call cpudeclocked
|
||||||
movb %al,%al
|
testb %al,%al
|
||||||
je .Lj3605
|
je .Lj3605
|
||||||
.Lj3620:
|
.Lj3620:
|
||||||
movl (%esp),%eax
|
movl (%esp),%eax
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user