summaryrefslogtreecommitdiff
path: root/src/mem/slicc/ast
diff options
context:
space:
mode:
authorNilay Vaish <nilay@cs.wisc.edu>2015-09-14 10:04:55 -0500
committerNilay Vaish <nilay@cs.wisc.edu>2015-09-14 10:04:55 -0500
commit4e898be76299f72605fd1624f04917edb2bba3c4 (patch)
tree15d8351f9ae0ebd0756cf9fefd079b0d71cd681b /src/mem/slicc/ast
parent78bf2dfeac083f5f945ce61cf8ec32374e7c94ae (diff)
downloadgem5-4e898be76299f72605fd1624f04917edb2bba3c4.tar.xz
ruby: slicc: remove member buffer_expr from Var class
This was added by changeset 51f40b101a56. Instead, buffer_expr would now be associated with the InPort class.
Diffstat (limited to 'src/mem/slicc/ast')
-rw-r--r--src/mem/slicc/ast/InPortDeclAST.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mem/slicc/ast/InPortDeclAST.py b/src/mem/slicc/ast/InPortDeclAST.py
index 7a019a0e0..e0aa25236 100644
--- a/src/mem/slicc/ast/InPortDeclAST.py
+++ b/src/mem/slicc/ast/InPortDeclAST.py
@@ -58,8 +58,9 @@ class InPortDeclAST(DeclAST):
queue_type)
type = self.queue_type.type
+ self.pairs["buffer_expr"] = self.var_expr
in_port = Var(self.symtab, self.ident, self.location, type, str(code),
- self.pairs, machine, self.var_expr)
+ self.pairs, machine)
symtab.newSymbol(in_port)
symtab.pushFrame()