set-string-nth-fast intrinsic was busted

db4
Slava Pestov 2008-12-05 23:52:09 -06:00
parent 044e2867d5
commit 82cf6530c6
1 changed files with 1 additions and 1 deletions

View File

@ -391,7 +391,7 @@ M:: x86 %string-nth ( dst src index temp -- )
] with-small-register ;
M:: x86 %set-string-nth-fast ( ch str index temp -- )
ch { index str } [| new-ch |
ch { index str temp } [| new-ch |
new-ch ch ?MOV
temp str index [+] LEA
temp string-offset [+] new-ch 1 small-reg MOV