diff test/testcg.py @ 309:68b01c8abf8a

Added start of ir read and write
author Windel Bouwman
date Fri, 13 Dec 2013 13:51:02 +0100
parents 6753763d3bec
children e30a77ae359b
line wrap: on
line diff
--- a/test/testcg.py	Fri Dec 13 11:53:29 2013 +0100
+++ b/test/testcg.py	Fri Dec 13 13:51:02 2013 +0100
@@ -9,7 +9,7 @@
 def genTestFunction():
     m = ir.Module('tst')
     f = ir.Function('tst')
-    m.addFunction(f)
+    m.add_function(f)
     return m, f, f.entry