forked from M-Labs/artiq
Fix artiq.compiler.ir.BasicBlock.__repr__.
This commit is contained in:
parent
7e3f91c0bb
commit
c6cd318f19
|
@ -341,7 +341,7 @@ class BasicBlock(NamedValue):
|
||||||
return "\n".join(lines)
|
return "\n".join(lines)
|
||||||
|
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return "<BasicBlock '{}'>".format(self.name)
|
return "<artiq.compiler.ir.BasicBlock {}>".format(repr(self.name))
|
||||||
|
|
||||||
class Argument(NamedValue):
|
class Argument(NamedValue):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue