diff python/ir/function.py @ 239:63bb40758066

added check
author Windel Bouwman
date Mon, 22 Jul 2013 17:57:25 +0200
parents 88a1e0baef65
children 74c6a20302d5
line wrap: on
line diff
--- a/python/ir/function.py	Sat Jul 20 13:18:04 2013 +0200
+++ b/python/ir/function.py	Mon Jul 22 17:57:25 2013 +0200
@@ -29,4 +29,6 @@
 
     BasicBlocks = property(getBBs)
 
-
+    def check(self):
+        for bb in self.BasicBlocks:
+            bb.check()