diff options
Diffstat (limited to 'src/mem/slicc/ast/AST.py')
-rw-r--r-- | src/mem/slicc/ast/AST.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mem/slicc/ast/AST.py b/src/mem/slicc/ast/AST.py index 9e3844445..6eaa452cc 100644 --- a/src/mem/slicc/ast/AST.py +++ b/src/mem/slicc/ast/AST.py @@ -55,6 +55,6 @@ class AST(PairContainer): code = self.slicc.codeFormatter() code(''' panic("Runtime Error at ${{self.location}}, Ruby Time: %d, %s.\\n", - g_system_ptr->getTime(), $message); + curCycle(), $message); ''') return code |