From db76defa2a2ba0d9c67500a764c8f5fdc7b087d2 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sat, 4 Apr 2015 20:12:22 +0800 Subject: [PATCH] fhdl/visit: remove TransformModule --- migen/fhdl/visit.py | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/migen/fhdl/visit.py b/migen/fhdl/visit.py index ab7a1b85..386c038b 100644 --- a/migen/fhdl/visit.py +++ b/migen/fhdl/visit.py @@ -197,14 +197,3 @@ class NodeTransformer: def visit_unknown(self, node): return node - -class TransformModule: - def __init__(self, transform, module): - self.transform = transform - self.module = module - self.get_fragment_called = False - - def get_fragment(self): - assert(not self.get_fragment_called) - self.get_fragment_called = True - return self.transform(self.module.get_fragment()) -- 2.30.2