Skip to content

Commit

Permalink
Adds pass dependencies for EdgeCachePass (#1469)
Browse files Browse the repository at this point in the history
  • Loading branch information
fwendland authored Mar 22, 2024
1 parent 0ef85e5 commit 640be45
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ import de.fraunhofer.aisec.cpg.TranslationContext
import de.fraunhofer.aisec.cpg.graph.Component
import de.fraunhofer.aisec.cpg.graph.Node
import de.fraunhofer.aisec.cpg.helpers.SubgraphWalker
import de.fraunhofer.aisec.cpg.passes.order.DependsOn
import de.fraunhofer.aisec.cpg.processing.IVisitor
import de.fraunhofer.aisec.cpg.processing.strategy.Strategy

Expand Down Expand Up @@ -82,6 +83,11 @@ object Edges {
*
* The cache itself is stored in the [Edges] object.
*/
@DependsOn(EvaluationOrderGraphPass::class)
@DependsOn(SymbolResolver::class)
@DependsOn(DFGPass::class)
@DependsOn(DynamicInvokeResolver::class)
@DependsOn(ControlFlowSensitiveDFGPass::class)
class EdgeCachePass(ctx: TranslationContext) : ComponentPass(ctx) {
override fun accept(component: Component) {
Edges.clear()
Expand Down

0 comments on commit 640be45

Please sign in to comment.