* Undoing change commited in r12461, it looks like a feature and not a bug ;)

git-svn-id: trunk@12463 -
This commit is contained in:
ivost 2009-01-01 21:45:42 +00:00
parent c9b5621675
commit 8046f82416

View File

@ -1037,15 +1037,12 @@ asm
{$endif}
movl $0xffffffff,%ecx
xorl %eax,%eax
cmp %edi,%edi
jz .LStrLenDone
cld
repne
scasb
movl $0xfffffffe,%eax
subl %ecx,%eax
movl saveedi,%edi
.LStrLenDone:
end;
{$endif FPC_SYSTEM_HAS_FPC_PCHAR_LENGTH}