Pārlūkot izejas kodu

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 gadi atpakaļ
vecāks
revīzija
df3bcbed1d
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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
       ))))