diff options
author | Nilay Vaish <nilay@cs.wisc.edu> | 2013-02-19 22:58:51 -0600 |
---|---|---|
committer | Nilay Vaish <nilay@cs.wisc.edu> | 2013-02-19 22:58:51 -0600 |
commit | fea27bc49b685472c3ccd8a657924015141d052e (patch) | |
tree | bf53a6e29acb32292ba2a5d3906bcb70e23f86ab /src/mem/slicc/symbols | |
parent | e95e78ff2ff127cd2a3e166f537ad9ef228266de (diff) | |
download | gem5-fea27bc49b685472c3ccd8a657924015141d052e.tar.xz |
slicc: remove unused variable message_buffer_names
Diffstat (limited to 'src/mem/slicc/symbols')
-rw-r--r-- | src/mem/slicc/symbols/StateMachine.py | 7 |
1 files changed, 0 insertions, 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__') |