File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ struct
106106 if M. tracing then M. tracel " inv" " Consider case of lval %a = %a" d_lval lv VD. pretty (Address (AD. singleton a));
107107 let st = set' lv (Address (AD. singleton a)) st in
108108 let old_val = get ~man st (AD. singleton a) None in
109- let old_val = VD. cast (Cilfacade. typeOfLval lv ) old_val in (* needed as the type of this pointer may be different *)
109+ let old_val = VD. cast (Cilfacade. typeOfLval x ) old_val in (* needed as the type of this pointer may be different *)
110110 (* this what I would originally have liked to do, but eval_rv_lval_refine uses queries and thus stale values *)
111111 (* let old_val = eval_rv_lval_refine ~man st exp x in *)
112112 let old_val = map_oldval old_val (Cilfacade. typeOfLval x) in
You can’t perform that action at this time.
0 commit comments