Skip to content

Commit

Permalink
refactor(df-graph): remove unneeded argument
Browse files Browse the repository at this point in the history
  • Loading branch information
EagleoutIce committed Dec 1, 2024
1 parent f5b7a97 commit f25194e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dataflow/graph/graph.ts
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ export class DataflowGraph<
existingFrom.set(toId, edge);
}
if(type === EdgeType.DefinesOnCall) {
this.installDefinesOnCallEdge(type, toId, fromId, edge);
this.installDefinesOnCallEdge(toId, fromId, edge);
}
} else {
// adding the type
Expand All @@ -308,7 +308,7 @@ export class DataflowGraph<
return this;
}

private installDefinesOnCallEdge(type: EdgeType, toId: NodeId, fromId: NodeId, edge: Edge) {
private installDefinesOnCallEdge(toId: NodeId, fromId: NodeId, edge: Edge) {
const otherEdge: Edge = {
...edge,
types: EdgeType.DefinedByOnCall
Expand Down

0 comments on commit f25194e

Please sign in to comment.