diff options
author | Nilay Vaish <nilay@cs.wisc.edu> | 2014-09-01 16:55:43 -0500 |
---|---|---|
committer | Nilay Vaish <nilay@cs.wisc.edu> | 2014-09-01 16:55:43 -0500 |
commit | 557200725ccf98b50d9fd288e1eb0c5ffc7875ea (patch) | |
tree | e9b4a7de833120e79b1b149707a0647eb9641a85 /src/mem/slicc/ast | |
parent | 6ceb1aadc2d64576c4506657da6b3ba1b7a2d4ea (diff) | |
download | gem5-557200725ccf98b50d9fd288e1eb0c5ffc7875ea.tar.xz |
ruby: slicc: donot prefix machine name to variables
This changeset does away with prefixing of member variables of state machines
with the identity of the machine itself.
Diffstat (limited to 'src/mem/slicc/ast')
-rw-r--r-- | src/mem/slicc/ast/ObjDeclAST.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mem/slicc/ast/ObjDeclAST.py b/src/mem/slicc/ast/ObjDeclAST.py index 4fd85d143..5cb662fc0 100644 --- a/src/mem/slicc/ast/ObjDeclAST.py +++ b/src/mem/slicc/ast/ObjDeclAST.py @@ -70,8 +70,6 @@ class ObjDeclAST(DeclAST): c_code = "m_machineID" elif self.ident == "clusterID": c_code = "m_clusterID" - elif machine: - c_code = "(*m_%s_%s_ptr)" % (machine.ident, self.ident) else: c_code = "(*m_%s_ptr)" % (self.ident) |