Skip to content

Commit

Permalink
remove TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
jgaAdibilis committed Jul 8, 2024
1 parent 3362648 commit 1e41b5e
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,6 @@ case class VarAnalysisGraphMap(prog: Program,
case UnExp(exp) => getSinksFromExpr(exp)
case f: FuncApp =>
val isHeapDependent = Expressions.couldBeHeapDependent(f.func(prog), prog)
// TODO: do we need to filter out Refs?
f.args.flatMap(e => getSinksFromExpr(e)).toSet ++ (if (isHeapDependent) Set(HeapSink) else Set.empty)
case DomainFuncApp(_, exps, _) => exps.flatMap(e => getSinksFromExpr(e)).toSet
case _: ForPerm | _: CurrentPerm => Set(HeapSink)
Expand Down

0 comments on commit 1e41b5e

Please sign in to comment.