summaryrefslogtreecommitdiff
path: root/src/mem/slicc/parser.py
diff options
context:
space:
mode:
authorNilay Vaish <nilay@cs.wisc.edu>2011-03-18 14:12:03 -0500
committerNilay Vaish <nilay@cs.wisc.edu>2011-03-18 14:12:03 -0500
commit3f27ccbb5488a6904f8bffc7e2ecc58c39a09119 (patch)
treef206d3d898a181d1ce94ec5e02e562fe4fea71ad /src/mem/slicc/parser.py
parent847ba941ea345f01b2f5176432b6541902a41d2b (diff)
downloadgem5-3f27ccbb5488a6904f8bffc7e2ecc58c39a09119.tar.xz
SLICC: Remove the keyword wake_up_dependents
In order to add stall and wait facility for protocols, a keyword wake_up_dependents was introduced. This patch removes the keyword, instead this functionality is now implemented as function call.
Diffstat (limited to 'src/mem/slicc/parser.py')
-rw-r--r--src/mem/slicc/parser.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mem/slicc/parser.py b/src/mem/slicc/parser.py
index fcf3c71ac..8095fc8b4 100644
--- a/src/mem/slicc/parser.py
+++ b/src/mem/slicc/parser.py
@@ -159,7 +159,6 @@ class SLICC(Grammar):
'state_declaration' : 'STATE_DECL',
'peek' : 'PEEK',
'stall_and_wait' : 'STALL_AND_WAIT',
- 'wake_up_dependents' : 'WAKE_UP_DEPENDENTS',
'enqueue' : 'ENQUEUE',
'copy_head' : 'COPY_HEAD',
'check_allocate' : 'CHECK_ALLOCATE',
@@ -577,10 +576,6 @@ class SLICC(Grammar):
"statement : STALL_AND_WAIT '(' var ',' var ')' SEMI"
p[0] = ast.StallAndWaitStatementAST(self, p[3], p[5])
- def p_statement__wake_up_dependents(self, p):
- "statement : WAKE_UP_DEPENDENTS '(' var ')' SEMI"
- p[0] = ast.WakeUpDependentsStatementAST(self, p[3])
-
def p_statement__peek(self, p):
"statement : PEEK '(' var ',' type pairs ')' statements"
p[0] = ast.PeekStatementAST(self, p[3], p[5], p[6], p[8], "peek")