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.
This commit is contained in:
Nilay Vaish 2013-01-28 06:11:42 -06:00
parent 9bc132e473
commit 31659e83fb

View file

@ -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