summaryrefslogtreecommitdiff
path: root/src/mem/slicc/ast/ExprStatementAST.py
diff options
context:
space:
mode:
authorNilay Vaish <nilay@cs.wisc.edu>2014-05-23 06:07:02 -0500
committerNilay Vaish <nilay@cs.wisc.edu>2014-05-23 06:07:02 -0500
commit8bf41e41c142b2c8618eed0b786c64e10dcacb1e (patch)
tree7f43fa0ea9407beb0cc535b567e248f2db7078e9 /src/mem/slicc/ast/ExprStatementAST.py
parent1e26b7ea29ead4a67a060cc66cd72a193db9c766 (diff)
downloadgem5-8bf41e41c142b2c8618eed0b786c64e10dcacb1e.tar.xz
ruby: message buffer: drop dequeue_getDelayCycles()
The functionality of updating and returning the delay cycles would now be performed by the dequeue() function itself.
Diffstat (limited to 'src/mem/slicc/ast/ExprStatementAST.py')
-rw-r--r--src/mem/slicc/ast/ExprStatementAST.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mem/slicc/ast/ExprStatementAST.py b/src/mem/slicc/ast/ExprStatementAST.py
index 898fccf3d..acb69f799 100644
--- a/src/mem/slicc/ast/ExprStatementAST.py
+++ b/src/mem/slicc/ast/ExprStatementAST.py
@@ -42,8 +42,8 @@ class ExprStatementAST(StatementAST):
# The return type must be void
if actual_type != self.symtab.find("void", Type):
- self.expr.error("Non-void return must not be ignored, " + \
- "return type is '%s'", actual_type.ident)
+ self.expr.warning("Non-void return ignored, " + \
+ "return type is '%s'", actual_type.ident)
def findResources(self, resources):
self.expr.findResources(resources)