summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNilay Vaish <nilay@cs.wisc.edu>2013-01-28 06:11:42 -0600
committerNilay Vaish <nilay@cs.wisc.edu>2013-01-28 06:11:42 -0600
commit31659e83fbf6fa2b9024908cdba428145ef1fade (patch)
tree2b7c5b06b212d6027bddc8e1f28e8434b0a92f87
parent9bc132e4738c53be2dd9c2fdf5e4dd8e73d8970b (diff)
downloadgem5-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.
-rw-r--r--src/mem/slicc/ast/AST.py3
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