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:
parent
9bc132e473
commit
31659e83fb
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue