From 72f139ad42496ebc69aac42a569ff6c69e89cc87 Mon Sep 17 00:00:00 2001 From: Charles Cooper Date: Fri, 31 May 2024 09:36:03 -0400 Subject: [PATCH] fix lint --- vyper/venom/__init__.py | 2 +- vyper/venom/passes/extract_literals.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/vyper/venom/__init__.py b/vyper/venom/__init__.py index d7a2c27ddf..afd79fc44f 100644 --- a/vyper/venom/__init__.py +++ b/vyper/venom/__init__.py @@ -12,8 +12,8 @@ from vyper.venom.passes.algebraic_optimization import AlgebraicOptimizationPass from vyper.venom.passes.branch_optimization import BranchOptimizationPass from vyper.venom.passes.dft import DFTPass -from vyper.venom.passes.make_ssa import MakeSSA from vyper.venom.passes.extract_literals import ExtractLiteralsPass +from vyper.venom.passes.make_ssa import MakeSSA from vyper.venom.passes.mem2var import Mem2Var from vyper.venom.passes.remove_unused_variables import RemoveUnusedVariablesPass from vyper.venom.passes.sccp import SCCP diff --git a/vyper/venom/passes/extract_literals.py b/vyper/venom/passes/extract_literals.py index 3ee54af3c9..b8e042b357 100644 --- a/vyper/venom/passes/extract_literals.py +++ b/vyper/venom/passes/extract_literals.py @@ -1,4 +1,3 @@ -from vyper.utils import OrderedSet from vyper.venom.analysis.dfg import DFGAnalysis from vyper.venom.analysis.liveness import LivenessAnalysis from vyper.venom.basicblock import IRInstruction, IRLiteral @@ -9,6 +8,7 @@ class ExtractLiteralsPass(IRPass): """ This pass extracts literals so that they can be reordered by the DFT pass """ + def run_pass(self): for bb in self.function.get_basic_blocks(): self._process_bb(bb)