Skip to content

Commit 513ebb5

Browse files
Switch back to default tracing
1 parent bed3526 commit 513ebb5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/analyses/baseInvariant.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ struct
117117
match a with
118118
| Addr (base, _) as orig ->
119119
let (a:VD.t) = Address (AD.singleton (AD.Addr.of_var base)) in
120-
if M.tracing then M.tracel "invo" "Consider case of lval %a = %a" d_lval lv VD.pretty a;
120+
if M.tracing then M.tracel "inv" "Consider case of lval %a = %a" d_lval lv VD.pretty a;
121121
let st = set' lv a st in
122122
let old_val = get ~man st (AD.singleton orig) None in
123123
let old_val = VD.cast (Cilfacade.typeOfLval x) old_val in (* needed as the type of this pointer may be different *)
@@ -128,7 +128,7 @@ struct
128128
if is_some_bot v then
129129
D.join acc (try contra st with Analyses.Deadcode -> D.bot ())
130130
else (
131-
if M.tracing then M.tracel "invo" "improve lval %a from %a to %a (c = %a, c' = %a)" d_lval x VD.pretty old_val VD.pretty v pretty c VD.pretty c';
131+
if M.tracing then M.tracel "inv" "improve lval %a from %a to %a (c = %a, c' = %a)" d_lval x VD.pretty old_val VD.pretty v pretty c VD.pretty c';
132132
D.join acc (set' x v st)
133133
)
134134
| _ ->

0 commit comments

Comments
 (0)