diff python/ppci/transform.py @ 334:6f4753202b9a

Added more recipes
author Windel Bouwman
date Thu, 13 Feb 2014 22:02:08 +0100
parents e30a77ae359b
children d1ecc493384e
line wrap: on
line diff
--- a/python/ppci/transform.py	Sun Feb 09 15:27:57 2014 +0100
+++ b/python/ppci/transform.py	Thu Feb 13 22:02:08 2014 +0100
@@ -12,7 +12,7 @@
 
     def run(self, ir):
         """ Main entry point for the pass """
-        self.logger.info('Running pass {}'.format(type(self)))
+        self.logger.debug('Running pass {}'.format(self.__class__.__name__))
         self.prepare()
         for f in ir.Functions:
             self.onFunction(f)
@@ -157,7 +157,7 @@
 
     def glue_blocks(self, block1, block2, f):
         """ Glue two blocks together into the first block """
-        self.logger.info('Glueing {} and {}'.format(block1, block2))
+        self.logger.debug('Glueing {} and {}'.format(block1, block2))
 
         # Remove the last jump:
         block1.removeInstruction(block1.LastInstruction)