Skip to content
Snippets Groups Projects
Commit 1f8305c0 authored by Allan Blanchard's avatar Allan Blanchard Committed by Julien Signoles
Browse files

[Constant propagation] Replaces deprecated function call related to Visitor_behavior

parent 3b35e5b7
No related branches found
No related tags found
No related merge requests found
...@@ -74,7 +74,7 @@ class propagate project fnames ~cast_intro = object(self) ...@@ -74,7 +74,7 @@ class propagate project fnames ~cast_intro = object(self)
known_globals <- Varinfo.Set.add vi known_globals; known_globals <- Varinfo.Set.add vi known_globals;
if Cil.isFunctionType vi.vtype then begin if Cil.isFunctionType vi.vtype then begin
let kf = Globals.Functions.get vi in let kf = Globals.Functions.get vi in
let new_kf = Cil.memo_kernel_function self#behavior kf in let new_kf = Visitor_behavior.memo_kernel_function self#behavior kf in
Queue.add (fun () -> Globals.Functions.register new_kf) Queue.add (fun () -> Globals.Functions.register new_kf)
self#get_filling_actions; self#get_filling_actions;
end end
......
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