Explorar el Código

Fix potential error in boolean?

It's the same as for char?, only here I didn't find a case for which it
happened yet.
Lucas Stadler %!s(int64=8) %!d(string=hace) años
padre
commit
df3bcbed1d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      scm/inc/compiler.scm

+ 1 - 1
scm/inc/compiler.scm

@ -73,7 +73,7 @@
73 73
        (emit-compare))
74 74
       ((boolean?)
75 75
        (emit-expr (primcall-operand1 x))
76
        (emit "andl $~a, %eax" #b0011111)
76
        (emit "andl $~a, %eax" #b1111111)
77 77
        (emit "cmpl $~a, %eax" #b0011111)
78 78
        (emit-compare))
79 79
       ))))