Skip to content

Commit

Permalink
handle mul_bits in bits_coerce_narrow
Browse files Browse the repository at this point in the history
  • Loading branch information
mmcloughlin committed Sep 21, 2024
1 parent 5eaf73c commit 20dfc1e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libASL/transforms.ml
Original file line number Diff line number Diff line change
Expand Up @@ -1188,6 +1188,7 @@ module IntToBits = struct
(match name_of_FIdent f with
| "add_bits" -> ChangeDoChildrenPost (narrow_args (), fun x -> Expr_Slices (x, [sl]))
| "sub_bits" -> ChangeDoChildrenPost (narrow_args (), fun x -> Expr_Slices (x, [sl]))
| "mul_bits" -> ChangeDoChildrenPost (narrow_args (), fun x -> Expr_Slices (x, [sl]))
| _ -> ChangeDoChildrenPost (narrow inner, fun x -> Expr_Slices (x, [sl]))
)
| _ -> DoChildren
Expand Down

0 comments on commit 20dfc1e

Please sign in to comment.