]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
VG_(clo_pointercheck) is a Bool, which is a byte.
authorJeremy Fitzhardinge <jeremy@valgrind.org>
Fri, 19 Dec 2003 00:23:00 +0000 (00:23 +0000)
committerJeremy Fitzhardinge <jeremy@valgrind.org>
Fri, 19 Dec 2003 00:23:00 +0000 (00:23 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2131

coregrind/vg_dispatch.S

index 5014c4cd3cb288ac12d3ed7ddaa8eb9ac0a1c3c9..51e82d9c2b5aa73908c236a34235bb0fcfaa161b 100644 (file)
@@ -77,8 +77,8 @@ VG_(run_innerloop):
        pushl   %ebp
 
        /* check to see if we're doing pointer checking */
-       movl    VG_(clo_pointercheck), %eax
-       testl   %eax,%eax
+       movb    VG_(clo_pointercheck), %al
+       testb   %al,%al
        jz      1f
        
        pushl   %fs                                             /* save %fs     */
@@ -147,8 +147,8 @@ counter_is_zero:
        jmp     run_innerloop_exit
        
 run_innerloop_exit:
-       movl    VG_(clo_pointercheck), %ebx
-       testl   %ebx,%ebx
+       movb    VG_(clo_pointercheck), %bl
+       testb   %bl,%bl
        jz      1f
 
        /* restore %fs */