Skip to content

Commit

Permalink
Update coverage results for new behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
ncough committed Feb 22, 2024
1 parent 9426a52 commit 63076c7
Show file tree
Hide file tree
Showing 4 changed files with 3,679 additions and 3,679 deletions.
8 changes: 4 additions & 4 deletions libASL/transforms.ml
Original file line number Diff line number Diff line change
Expand Up @@ -671,17 +671,17 @@ module StatefulIntToBits = struct
let (n,w) = force_signed (bv_of_int_expr vars n) in
expr_prim' "asr_bits" [size; expr_of_abs w] [x;sym_expr n]

| e -> e in
ChangeDoChildrenPost(e', fun e -> e)
| e -> e
in
ChangeDoChildrenPost(e', fun e -> e)
end

(** Cleanup pass to remove wrapper and introduce necessary bit->int conversions *)
class cleanup (vars) = object (self)
inherit Asl_visitor.nopAslVisitor
method! vexpr e =
match e with
| Expr_TApply (f, [], [e]) when f = wrapper_ident ->
ChangeTo e
| Expr_TApply (f, [], [e]) when f = wrapper_ident -> ChangeTo e
| Expr_Var v ->
(match Bindings.find_opt v vars with
| Some w ->
Expand Down
Loading

0 comments on commit 63076c7

Please sign in to comment.