diff python/ir/function.py @ 173:c1d2b6b9f9a7

Rework into passes
author Windel Bouwman
date Fri, 19 Apr 2013 12:42:21 +0200
parents 5a7d37d615ee
children 460db5669efa
line wrap: on
line diff
--- a/python/ir/function.py	Thu Apr 04 17:58:37 2013 +0200
+++ b/python/ir/function.py	Fri Apr 19 12:42:21 2013 +0200
@@ -6,7 +6,7 @@
       self.bbs = []
       self.entry = None
    def __repr__(self):
-      return 'FUNC {0}, entry:{1}'.format(self.name, self.entry)
+      return 'Function {0}'.format(self.name)
    def addBB(self, bb):
       self.bbs.append(bb)
    def getBBs(self):