Skip to content
Snippets Groups Projects
Commit a5f00116 authored by David Bühler's avatar David Bühler
Browse files

[Eva] Utils: slightly improves the precision of [zone_of_expr].

parent b217d637
No related branches found
No related tags found
No related merge requests found
...@@ -300,8 +300,7 @@ let rec zone_of_expr find_loc expr = ...@@ -300,8 +300,7 @@ let rec zone_of_expr find_loc expr =
then its contents themselves are read *) then its contents themselves are read *)
and zone_of_lval find_loc lval = and zone_of_lval find_loc lval =
let ploc = find_loc lval in let ploc = find_loc lval in
let loc = Precise_locs.imprecise_location ploc in let zone = Precise_locs.enumerate_valid_bits Read ploc in
let zone = Locations.(enumerate_valid_bits Read loc) in
Locations.Zone.join zone Locations.Zone.join zone
(indirect_zone_of_lval find_loc lval) (indirect_zone_of_lval find_loc lval)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment