hdl.dsl: cleanup. NFC.
authorwhitequark <cz@m-labs.hk>
Sun, 16 Dec 2018 23:44:00 +0000 (23:44 +0000)
committerwhitequark <cz@m-labs.hk>
Sun, 16 Dec 2018 23:44:00 +0000 (23:44 +0000)
nmigen/hdl/dsl.py

index 8e3507ba131ffb6f25380f51495a6334ce680459..e240513d2b908122205d35a03fc4389ff1d592f3 100644 (file)
@@ -92,10 +92,6 @@ class Module(_ModuleBuilderRoot):
         self._statements   = Statement.wrap([])
         self._ctrl_context = None
         self._ctrl_stack   = []
-        self._stmt_if_cond      = []
-        self._stmt_if_bodies    = []
-        self._stmt_switch_test  = None
-        self._stmt_switch_cases = OrderedDict()
 
     def _check_context(self, construct, context):
         if self._ctrl_context != context: