Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions src/util/loopUnrolling.ml
Original file line number Diff line number Diff line change
Expand Up @@ -468,6 +468,8 @@ class loopUnrollingVisitor(func, totalLoops) = object
end

let unroll_loops fd totalLoops =
Cil.populateLabelAlphaTable fd;
let thisVisitor = new loopUnrollingVisitor(fd, totalLoops) in
ignore (visitCilFunction thisVisitor fd)
if not (Cil.hasAttribute "goblint_stub" fd.svar.vattr) then (
Cil.populateLabelAlphaTable fd;
let thisVisitor = new loopUnrollingVisitor(fd, totalLoops) in
ignore (visitCilFunction thisVisitor fd)
)