Skip to content

Commit

Permalink
update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mmcloughlin committed Sep 21, 2024
1 parent 20dfc1e commit 8d5ea90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libASL/transforms.ml
Original file line number Diff line number Diff line change
Expand Up @@ -1183,7 +1183,7 @@ module IntToBits = struct
in
let narrow_args () = Expr_TApply (f, [expr_of_int wd'], List.map narrow es) in

(* for add and sub expressions, we only need the lowest n bits in order
(* for some arithmetic expressions, we only need the lowest n bits in order
to have n bits of precision in the output. *)
(match name_of_FIdent f with
| "add_bits" -> ChangeDoChildrenPost (narrow_args (), fun x -> Expr_Slices (x, [sl]))
Expand Down

0 comments on commit 8d5ea90

Please sign in to comment.