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

[Eva] Requests: reloads the functions array when the computation state changes.

Information about analyzed functions may change when the analysis computation
state changes.
parent 0d46d806
No related branches found
No related tags found
No related merge requests found
...@@ -76,6 +76,12 @@ let () = Request.register ~package ...@@ -76,6 +76,12 @@ let () = Request.register ~package
~input:(module Kernel_ast.Kf) ~output:(module Data.Jlist (CallSite)) ~input:(module Kernel_ast.Kf) ~output:(module Data.Jlist (CallSite))
callers callers
(* ----- Functions ---------------------------------------------------------- *)
let () =
Analysis.register_computation_hook
(fun _ -> States.reload Kernel_ast.Functions.array)
(* ----- Dead code: unreachable and non-terminating statements -------------- *) (* ----- Dead code: unreachable and non-terminating statements -------------- *)
......
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