Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
harkal committed Oct 2, 2024
1 parent d8a63c9 commit face008
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vyper/venom/passes/dft.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ class DFTPass(IRPass):
function: IRFunction
inst_offspring_count: dict[IRInstruction, int]
visited_instructions: OrderedSet[IRInstruction]
ida: dict[IRInstruction, OrderedSet[IRInstruction]]

def __init__(self, analyses_cache: IRAnalysesCache, function: IRFunction):
super().__init__(analyses_cache, function)
Expand Down Expand Up @@ -88,7 +89,7 @@ def _process_instruction_r(self, instructions: list[IRInstruction], inst: IRInst

def _calculate_dependency_graphs(self, bb: IRBasicBlock) -> None:
# ida: instruction dependency analysis
self.ida = dict[IRInstruction, OrderedSet[IRInstruction]]()
self.ida = {}

non_phis = list(bb.non_phi_instructions)
for inst in non_phis:
Expand Down

0 comments on commit face008

Please sign in to comment.