Mercurial > lcfOS
diff test/testcg.py @ 317:e30a77ae359b
Added glue blocks
author | Windel Bouwman |
---|---|
date | Sun, 22 Dec 2013 15:50:59 +0100 |
parents | 68b01c8abf8a |
children | 44f336460c2a |
line wrap: on
line diff
--- a/test/testcg.py Sat Dec 21 13:13:26 2013 +0100 +++ b/test/testcg.py Sun Dec 22 15:50:59 2013 +0100 @@ -22,7 +22,6 @@ m, f, bb = genTestFunction() bb.addInstruction(ir.Exp(ir.Const(123))) bb.addInstruction(ir.Jump(f.epiloog)) - m.check() obj = self.cg.generate(m, s) self.assertTrue(obj) @@ -34,7 +33,6 @@ m, f, bb = genTestFunction() bb.addInstruction(ir.Move(ir.Mem(ir.Const(1)), ir.Const(22))) bb.addInstruction(ir.Jump(f.epiloog)) - m.check() cg.generate(m, s) #s.dump()