Skip to content
Snippets Groups Projects
Commit 78fc7db6 authored by Michele Alberti's avatar Michele Alberti Committed by David Bühler
Browse files

[Eva] Simplify bases computation.

parent ab8f901f
No related branches found
No related tags found
No related merge requests found
......@@ -394,12 +394,7 @@ module InternalTaint = struct
let leave_scope _kf vars state =
let remove_unscoped_bases =
let bases =
List.fold_left
(fun acc v -> Base.Set.add (Base.of_varinfo v) acc)
Base.Set.empty
vars
in
let bases = Base.Set.of_list (List.map Base.of_varinfo vars) in
Zone.filter_base (fun b -> not (Base.Set.mem b bases))
in
{ state with
......
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