From: Nilay Vaish Date: Wed, 20 Feb 2013 04:58:51 +0000 (-0600) Subject: slicc: remove unused variable message_buffer_names X-Git-Tag: stable_2013_06_16~82 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fea27bc49b685472c3ccd8a657924015141d052e;p=gem5.git slicc: remove unused variable message_buffer_names --- 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__')