changeset 2f9aecba2362 in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=2f9aecba2362
description:
        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:

 src/mem/slicc/ast/FuncCallExprAST.py |   4 ----
 src/mem/slicc/ast/InPortDeclAST.py   |  17 -----------------
 2 files changed, 0 insertions(+), 21 deletions(-)

diffs (41 lines):

diff -r e4b12145f4eb -r 2f9aecba2362 src/mem/slicc/ast/FuncCallExprAST.py
--- a/src/mem/slicc/ast/FuncCallExprAST.py      Wed Aug 07 14:51:18 2013 -0500
+++ b/src/mem/slicc/ast/FuncCallExprAST.py      Wed Aug 07 14:51:18 2013 -0500
@@ -160,10 +160,6 @@
 #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 -r e4b12145f4eb -r 2f9aecba2362 src/mem/slicc/ast/InPortDeclAST.py
--- a/src/mem/slicc/ast/InPortDeclAST.py        Wed Aug 07 14:51:18 2013 -0500
+++ b/src/mem/slicc/ast/InPortDeclAST.py        Wed Aug 07 14:51:18 2013 -0500
@@ -109,23 +109,6 @@
 
         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()
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to