diff options
author | Nilay Vaish <nilay@cs.wisc.edu> | 2013-01-28 06:11:42 -0600 |
---|---|---|
committer | Nilay Vaish <nilay@cs.wisc.edu> | 2013-01-28 06:11:42 -0600 |
commit | 31659e83fbf6fa2b9024908cdba428145ef1fade (patch) | |
tree | 2b7c5b06b212d6027bddc8e1f28e8434b0a92f87 /src/mem/slicc/ast | |
parent | 9bc132e4738c53be2dd9c2fdf5e4dd8e73d8970b (diff) | |
download | gem5-31659e83fbf6fa2b9024908cdba428145ef1fade.tar.xz |
ruby: remove call to curCycle in panic()
The panic() function already prints the current tick value. This call to
curCycle() is as such redundant. Since we are trying to move towards multiple
clock domains, this call will print misleading time.
Diffstat (limited to 'src/mem/slicc/ast')
-rw-r--r-- | src/mem/slicc/ast/AST.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mem/slicc/ast/AST.py b/src/mem/slicc/ast/AST.py index 6eaa452cc..0db4a52c3 100644 --- a/src/mem/slicc/ast/AST.py +++ b/src/mem/slicc/ast/AST.py @@ -54,7 +54,6 @@ class AST(PairContainer): message = message % args code = self.slicc.codeFormatter() code(''' -panic("Runtime Error at ${{self.location}}, Ruby Time: %d, %s.\\n", - curCycle(), $message); +panic("Runtime Error at ${{self.location}}: %s.\\n", $message); ''') return code |