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

[E-ACSL] update according to kernel's changes

parent 857f9f4f
No related branches found
No related tags found
No related merge requests found
...@@ -220,8 +220,7 @@ module rec Transfer ...@@ -220,8 +220,7 @@ module rec Transfer
ignore (Visitor.visitFramacIdPredicate (register state_ref) pred); ignore (Visitor.visitFramacIdPredicate (register state_ref) pred);
!state_ref !state_ref
in in
let register_code_annot annot state = let register_code_annot a state =
let a = Annotations.code_annotation_of_rooted annot in
let state_ref = ref state in let state_ref = ref state in
ignore (Visitor.visitFramacCodeAnnotation (register state_ref) a); ignore (Visitor.visitFramacCodeAnnotation (register state_ref) a);
!state_ref !state_ref
......
...@@ -333,7 +333,7 @@ class e_acsl_visitor prj generate = object (self) ...@@ -333,7 +333,7 @@ class e_acsl_visitor prj generate = object (self)
in in
let env, new_annots = let env, new_annots =
Annotations.fold_code_annot Annotations.fold_code_annot
(fun _ (User old_a | AI(_, old_a)) (env, new_annots) -> (fun _ old_a (env, new_annots) ->
let a = let a =
(* [VP] Don't use Visitor here, as it will fill the (* [VP] Don't use Visitor here, as it will fill the
queue in the middle of the computation... *) queue in the middle of the computation... *)
......
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