diff python/testc3.py @ 182:e9b27f7193e3

Replace clear function by function also supported in python 3.2
author Windel Bouwman
date Sat, 18 May 2013 18:24:42 +0200
parents 25a0753da4cf
children 46d62dadd61b
line wrap: on
line diff
--- a/python/testc3.py	Sat May 18 17:45:26 2013 +0200
+++ b/python/testc3.py	Sat May 18 18:24:42 2013 +0200
@@ -84,7 +84,7 @@
    builder = c3.Builder(diag)
    ir = builder.build(src)
    # optional optimize here
-   x86gen = x86.X86CodeGen(diag)
+   x86gen = x86.X86CodeGenSimple(diag)
    ok = len(diag.diags) == 0
    if not ok:
       return