summaryrefslogtreecommitdiff
path: root/src/mem/slicc/symbols/Var.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mem/slicc/symbols/Var.py')
-rw-r--r--src/mem/slicc/symbols/Var.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/mem/slicc/symbols/Var.py b/src/mem/slicc/symbols/Var.py
index e16199a1e..2a4ef23db 100644
--- a/src/mem/slicc/symbols/Var.py
+++ b/src/mem/slicc/symbols/Var.py
@@ -32,17 +32,12 @@ class Var(Symbol):
machine=None):
super(Var, self).__init__(symtab, ident, location, pairs)
- if machine:
- self.c_ident = "%s_%s" % (machine, ident)
- else:
- self.c_ident = ident
-
self.machine = machine
self.type = type
self.code = code
def __repr__(self):
- return "[Var id: %s]" % (self.c_ident)
+ return "[Var id: %s]" % (self.ident)
def writeCodeFiles(self, path, includes):
pass