mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-30 10:41:15 +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}
|
||||
function cpudeclocked(var l : longint) : boolean;assembler;nostackframe;
|
||||
|
||||
@ -1093,7 +1093,7 @@ asm
|
||||
.Lj3610:
|
||||
movl %edx,%eax
|
||||
call cpudeclocked
|
||||
movb %al,%al
|
||||
testb %al,%al
|
||||
je .Lj3605
|
||||
.Lj3620:
|
||||
movl (%esp),%eax
|
||||
|
Loading…
Reference in New Issue
Block a user