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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user