Commits

Alexander Schremmer committed 26f4149

Add HOp repr.

  • Participants
  • Parent commits 9b2a37c
  • Branches sepcomp

Comments (0)

Files changed (1)

File pypy/rpython/rtyper.py

         self.r_result = rtyper.getrepr(self.s_result)
         rtyper.call_all_setups()  # compute ForwardReferences now
 
+    def __repr__(self):
+        return '<HOp %r #llops=%i>' % (self.spaceop, len(self.llops))
+
     def copy(self):
         result = HighLevelOp(self.rtyper, self.spaceop,
                              self.exceptionlinks, self.llops)