Skip to content
Snippets Groups Projects
Commit a4cb465d authored by Julien Signoles's avatar Julien Signoles
Browse files

[e-acsl] fix post-merge crash

parent a8575ca3
No related branches found
No related tags found
No related merge requests found
......@@ -32,7 +32,7 @@ let preprocess () =
analyses_feedback "typing annotations";
Typing.type_program ast;
analyses_feedback
"computing translation locations of labeled predicates and terms";
"computing future locations of labeled predicates and terms";
Labels.preprocess ast
let reset () =
......
......@@ -517,6 +517,8 @@ class vis_at_labels () = object (self)
inherit E_acsl_visitor.visitor dkey
method! glob_annot _ = Cil.SkipChildren
(** Launch the analysis on the given predicate. *)
method! vpredicate p =
let kf = Option.get self#current_kf in
......@@ -549,6 +551,7 @@ let reset () =
Stmt.Hashtbl.clear at_data_for_stmts
let _debug () =
Options.feedback ~level:2 "Labels preprocessing";
Options.feedback ~level:2 "|Locations:";
Stmt.Hashtbl.iter
(fun stmt ats_ref ->
......
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