Fix a bug in amd64 version of __chkstk_ms, noticed by Stefan

svn path=/trunk/; revision=51861
This commit is contained in:
Timo Kreuzer 2011-05-23 17:13:38 +00:00
parent 6243472331
commit 49988a5137

View file

@ -30,7 +30,7 @@ ___chkstk_ms:
.l_MoreThanAPage:
sub rcx, PAGE_SIZE /* yes, move pointer down 4k */
or rcx, 0 /* probe there */
or [rcx], 0 /* probe there */
sub rax, PAGE_SIZE /* decrement count */
cmp rax, PAGE_SIZE