* Fixed fpc_shortstr_to_shortstr for arm.

git-svn-id: trunk@10651 -
This commit is contained in:
yury 2008-04-13 16:17:14 +00:00
parent a27c5a8af5
commit 20a12503b8

View File

@ -326,7 +326,7 @@ procedure fpc_shortstr_to_shortstr(out res:shortstring;const sstr:shortstring);a
asm
ldrb r12,[r2],#1
cmp r12,r1
movgt r1,r12
movgt r12,r1
strb r12,[r0],#1
cmp r12,#6 (* 6 seems to be the break even point. *)
blt .LStartTailCopy