Mercurial > lcfOS
comparison python/testir.py @ 243:ef683881c64e
Remove various files
author | Windel Bouwman |
---|---|
date | Tue, 23 Jul 2013 16:50:02 +0200 |
parents | 81752b0f85a5 |
children | c4370696ccc7 |
comparison
equal
deleted
inserted
replaced
242:c94965418684 | 243:ef683881c64e |
---|---|
91 diag = ppci.DiagnosticsManager() | 91 diag = ppci.DiagnosticsManager() |
92 builder = c3.Builder(diag) | 92 builder = c3.Builder(diag) |
93 cgenx86 = x86.X86CodeGenSimple(diag) | 93 cgenx86 = x86.X86CodeGenSimple(diag) |
94 ir = builder.build(testsrc) | 94 ir = builder.build(testsrc) |
95 diag.printErrors(testsrc) | 95 diag.printErrors(testsrc) |
96 #ir.dump() | 96 ir.dump() |
97 ir.check() | |
97 cf = transform.ConstantFolder() | 98 cf = transform.ConstantFolder() |
99 ir.check() | |
98 dcd = transform.DeadCodeDeleter() | 100 dcd = transform.DeadCodeDeleter() |
101 ir.check() | |
99 m2r = transform.Mem2RegPromotor() | 102 m2r = transform.Mem2RegPromotor() |
103 ir.check() | |
100 clr = transform.CleanPass() | 104 clr = transform.CleanPass() |
101 ir.check() | 105 ir.check() |
102 cf.run(ir) | 106 cf.run(ir) |
103 dcd.run(ir) | 107 dcd.run(ir) |
104 clr.run(ir) | 108 clr.run(ir) |