Skip to content

Commit

Permalink
Add is_special check to AutoTune.findAllocsInLoops
Browse files Browse the repository at this point in the history
  • Loading branch information
sim642 committed Nov 7, 2024
1 parent 9f7ef77 commit 72bf7d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/autoTune.ml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class findAllocsInLoops = object
| _ -> DoChildren

method! vinst = function
| Call (_, Lval (Var f, NoOffset), args,_,_) ->
| Call (_, Lval (Var f, NoOffset), args,_,_) when LibraryFunctions.is_special f ->
Goblint_backtrace.protect ~mark:(fun () -> Cilfacade.FunVarinfo f) ~finally:Fun.id @@ fun () ->
let desc = LibraryFunctions.find f in
begin match desc.special args with
Expand Down

0 comments on commit 72bf7d6

Please sign in to comment.