From 4e898be76299f72605fd1624f04917edb2bba3c4 Mon Sep 17 00:00:00 2001 From: Nilay Vaish Date: Mon, 14 Sep 2015 10:04:55 -0500 Subject: 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. --- src/mem/slicc/ast/InPortDeclAST.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/mem/slicc/ast') 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() -- cgit v1.2.3