File tree 2 files changed +2
-8
lines changed
2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ def o_float(self, builder):
74
74
return r
75
75
76
76
def o_not (self , builder ):
77
- return self .o_bool (builder , True )
77
+ return self .o_bool (builder , inv = True )
78
78
79
79
def o_neg (self , builder ):
80
80
r = VInt (self .nbits )
@@ -185,12 +185,6 @@ def __init__(self):
185
185
def set_const_value (self , builder , b ):
186
186
VInt .set_const_value (self , builder , int (b ))
187
187
188
- def o_bool (self , builder ):
189
- r = VBool ()
190
- if builder is not None :
191
- r .auto_store (builder , self .auto_load (builder ))
192
- return r
193
-
194
188
195
189
class VFloat (VGeneric ):
196
190
def get_llvm_type (self ):
Original file line number Diff line number Diff line change @@ -188,7 +188,7 @@ def array_test():
188
188
189
189
190
190
def corner_cases ():
191
- two = True + True - False
191
+ two = True + True - ( not True )
192
192
three = two + True // True - False * True
193
193
two_float = three - True / True
194
194
one_float = two_float - (1.0 == bool (0.1 ))
You can’t perform that action at this time.
0 commit comments