File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
src/cdomain/value/cdomains/int Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -285,9 +285,7 @@ module BitfieldFunctor (Ints_t : IntOps.IntOps): Bitfield_SOverflow with type in
285285
286286 let meet ik x y = norm ik @@ (BArith. meet x y)
287287
288- let equal_bf (z1 ,o1 ) (z2 ,o2 ) = Ints_t. equal z1 z2 && Ints_t. equal o1 o2
289-
290- let leq (x :t ) (y :t ) = equal_bf (BArith. join x y) y
288+ let leq (x :t ) (y :t ) = equal (BArith. join x y) y
291289
292290 let widen ik x y = norm ik @@ BArith. widen x y
293291
@@ -359,7 +357,7 @@ module BitfieldFunctor (Ints_t : IntOps.IntOps): Bitfield_SOverflow with type in
359357
360358 let to_bool d =
361359 if not (leq BArith. zero d) then Some true
362- else if equal_bf d BArith. zero then Some false
360+ else if equal d BArith. zero then Some false
363361 else None
364362
365363 let of_bitfield ik x = norm ik x
You can’t perform that action at this time.
0 commit comments