File tree Expand file tree Collapse file tree 7 files changed +1674
-1067
lines changed Expand file tree Collapse file tree 7 files changed +1674
-1067
lines changed Original file line number Diff line number Diff line change @@ -181,7 +181,7 @@ module Domains = struct
181
181
with Not_found ->
182
182
Domain. unknown (X. type_info r)
183
183
184
- let add r t =
184
+ let init r t =
185
185
match Th. embed r with
186
186
| Alien _ when not (MX. mem r t.domains) ->
187
187
(* We have to add a default domain if the key `r` is not in map in order
@@ -226,7 +226,7 @@ module Domains = struct
226
226
let t = remove r t in
227
227
tighten nr nd t
228
228
229
- | exception Not_found -> add nr t
229
+ | exception Not_found -> init nr t
230
230
231
231
(* [propagate f a t] iterates on all the changed domains of [t] since the
232
232
last call of [propagate]. The list of changed domains is flushed after
@@ -421,7 +421,7 @@ let add r uf domains =
421
421
| Ty. Tadt _ ->
422
422
Debug. add r;
423
423
let rr, _ = Uf. find_r uf r in
424
- Domains. add rr domains
424
+ Domains. init rr domains
425
425
| _ ->
426
426
domains
427
427
Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ let pp ppf { bits_set; bits_unk; ex } =
79
79
Fmt. pf ppf " (0)"
80
80
end ;
81
81
let width = Z. numbits bits_unk in
82
- for i = width - 1 downto 0 do
82
+ for i = width downto 0 do
83
83
if Z. testbit bits_set i then
84
84
Fmt. pf ppf " 1"
85
85
else if Z. testbit bits_unk i then
You can’t perform that action at this time.
0 commit comments