diff python/transform.py @ 235:ff40407c0240

Fix ALabel to Label
author Windel Bouwman
date Mon, 15 Jul 2013 17:20:37 +0200
parents 1c7364bd74c7
children 81752b0f85a5
line wrap: on
line diff
--- a/python/transform.py	Sun Jul 14 19:29:21 2013 +0200
+++ b/python/transform.py	Mon Jul 15 17:20:37 2013 +0200
@@ -70,7 +70,6 @@
    # Check if alloc value is only used by load and store operations.
    assert type(allocinst) is Alloc
    for use in ai.value.used_by:
-      print(use.user, use)
       if not type(use.user) in [Load, Store]:
          # TODO: check volatile
          return False
@@ -101,5 +100,5 @@
 class Mem2RegPromotor(FunctionPass):
    def onFunction(self, f):
       # TODO
-      print(f)
+      pass