summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNilay Vaish <nilay@cs.wisc.edu>2013-08-07 14:51:18 -0500
committerNilay Vaish <nilay@cs.wisc.edu>2013-08-07 14:51:18 -0500
commit95381f8a990f2cf8806da4e653a9770c4dfe6f6a (patch)
tree6fc34bfe8d9b72ee0c881a473cb0f28c0dedba4d /src
parentf1b17bf1576bbc7c5786194cb9a02e3e52dbd1e6 (diff)
downloadgem5-95381f8a990f2cf8806da4e653a9770c4dfe6f6a.tar.xz
ruby: slicc: remove double trigger, continueProcessing
These constructs are not in use and are not being maintained by any one. In addition, it is not known if doubleTrigger works correctly with Ruby now.
Diffstat (limited to 'src')
-rw-r--r--src/mem/slicc/ast/FuncCallExprAST.py4
-rw-r--r--src/mem/slicc/ast/InPortDeclAST.py17
2 files changed, 0 insertions, 21 deletions
diff --git a/src/mem/slicc/ast/FuncCallExprAST.py b/src/mem/slicc/ast/FuncCallExprAST.py
index ff9ab6f3d..d1daf1f9f 100644
--- a/src/mem/slicc/ast/FuncCallExprAST.py
+++ b/src/mem/slicc/ast/FuncCallExprAST.py
@@ -160,10 +160,6 @@ if (!(${{cvec[0]}})) {
#endif
''')
- elif self.proc_name == "continueProcessing":
- code("counter++;")
- code("continue; // Check the first port again")
-
elif self.proc_name == "set_cache_entry":
code("set_cache_entry(m_cache_entry_ptr, %s);" %(cvec[0]));
elif self.proc_name == "unset_cache_entry":
diff --git a/src/mem/slicc/ast/InPortDeclAST.py b/src/mem/slicc/ast/InPortDeclAST.py
index 376315eed..c88d353d3 100644
--- a/src/mem/slicc/ast/InPortDeclAST.py
+++ b/src/mem/slicc/ast/InPortDeclAST.py
@@ -109,23 +109,6 @@ class InPortDeclAST(DeclAST):
param_types.append(type)
- # Add the doubleTrigger method - this hack supports tiggering
- # two simulateous events
- #
- # The key is that the second transistion cannot fail because
- # the first event cannot be undone therefore you must do some
- # checks before calling double trigger to ensure that won't
- # happen
- func = Func(self.symtab, "doubleTrigger", self.location, void_type,
- param_types, [], "", pairs)
- symtab.newSymbol(func)
-
- # Add the continueProcessing method - this hack supports
- # messages that don't trigger events
- func = Func(self.symtab, "continueProcessing", self.location,
- void_type, [], [], "", pairs)
- symtab.newSymbol(func)
-
if self.statements is not None:
rcode = self.slicc.codeFormatter()
rcode.indent()