hdl.dsl: cleanup. NFC.

This commit is contained in:
whitequark 2018-12-16 23:44:00 +00:00
parent 91b7561a00
commit b2f828387a

View file

@ -92,10 +92,6 @@ class Module(_ModuleBuilderRoot):
self._statements = Statement.wrap([]) self._statements = Statement.wrap([])
self._ctrl_context = None self._ctrl_context = None
self._ctrl_stack = [] 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): def _check_context(self, construct, context):
if self._ctrl_context != context: if self._ctrl_context != context: