slicc: remove unused variable message_buffer_names
authorNilay Vaish <nilay@cs.wisc.edu>
Wed, 20 Feb 2013 04:58:51 +0000 (22:58 -0600)
committerNilay Vaish <nilay@cs.wisc.edu>
Wed, 20 Feb 2013 04:58:51 +0000 (22:58 -0600)
src/mem/slicc/symbols/StateMachine.py

index ddaa3e440119e5902249e44e517ca6ab609b2f6a..d5965d46d7803b32e1442c762fb5e22f098e0711 100644 (file)
@@ -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__')