Ver Código Fonte

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 8 anos atrás
pai
commit
df3bcbed1d
1 arquivos alterados com 1 adições e 1 exclusões
  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
       ))))