Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
HodanPlodky committed Oct 25, 2024
1 parent 699e10d commit e945bf8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion vyper/venom/analysis/dfg.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
from typing import Optional

from vyper.utils import OrderedSet
from vyper.venom.analysis.analysis import IRAnalysesCache, IRAnalysis
from vyper.venom.analysis.liveness import LivenessAnalysis
from vyper.venom.basicblock import IRInstruction, IRVariable
from vyper.venom.function import IRFunction

from vyper.utils import OrderedSet

class DFGAnalysis(IRAnalysis):
_dfg_inputs: dict[IRVariable, OrderedSet[IRInstruction]]
Expand Down
3 changes: 1 addition & 2 deletions vyper/venom/passes/sccp/sccp.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

from vyper.exceptions import CompilerPanic, StaticAssertionException
from vyper.utils import OrderedSet
from vyper.venom.analysis import CFGAnalysis, DominatorTreeAnalysis, DFGAnalysis, IRAnalysesCache
from vyper.venom.analysis import CFGAnalysis, DFGAnalysis, DominatorTreeAnalysis, IRAnalysesCache
from vyper.venom.basicblock import (
IRBasicBlock,
IRInstruction,
Expand Down Expand Up @@ -52,7 +52,6 @@ class SCCP(IRPass):
fn: IRFunction
dom: DominatorTreeAnalysis
dfg: DFGAnalysis
#uses: dict[IRVariable, OrderedSet[IRInstruction]]
lattice: Lattice
work_list: list[WorkListItem]
cfg_in_exec: dict[IRBasicBlock, OrderedSet[IRBasicBlock]]
Expand Down

0 comments on commit e945bf8

Please sign in to comment.