From fea27bc49b685472c3ccd8a657924015141d052e Mon Sep 17 00:00:00 2001 From: Nilay Vaish Date: Tue, 19 Feb 2013 22:58:51 -0600 Subject: [PATCH] slicc: remove unused variable message_buffer_names --- src/mem/slicc/symbols/StateMachine.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/mem/slicc/symbols/StateMachine.py b/src/mem/slicc/symbols/StateMachine.py index ddaa3e440..d5965d46d 100644 --- a/src/mem/slicc/symbols/StateMachine.py +++ b/src/mem/slicc/symbols/StateMachine.py @@ -75,8 +75,6 @@ class StateMachine(Symbol): self.objects = [] self.TBEType = None self.EntryType = None - self.message_buffer_names = [] - def __repr__(self): return "[StateMachine: %s]" % self.ident @@ -216,8 +214,6 @@ class $py_ident(RubyController): ident = self.ident c_ident = "%s_Controller" % self.ident - self.message_buffer_names = [] - code(''' /** \\file $c_ident.hh * @@ -381,9 +377,6 @@ void unset_tbe(${{self.TBEType.c_ident}}*& m_tbe_ptr); th = var.get("template", "") code('${{var.type.c_ident}}$th* m_${{var.c_ident}}_ptr;') - if var.type.ident == "MessageBuffer": - self.message_buffer_names.append("m_%s_ptr" % var.c_ident) - code.dedent() code('};') code('#endif // __${ident}_CONTROLLER_H__') -- 2.30.2