diff python/ir/instruction.py @ 222:c3f1ce8b638f

Fixup of parser
author Windel Bouwman
date Tue, 09 Jul 2013 17:36:31 +0200
parents 848c4b15fd0b
children 88a1e0baef65
line wrap: on
line diff
--- a/python/ir/instruction.py	Mon Jul 08 22:21:44 2013 +0200
+++ b/python/ir/instruction.py	Tue Jul 09 17:36:31 2013 +0200
@@ -96,6 +96,7 @@
    """ Allocates space on the stack """
    def __init__(self, value):
       super().__init__()
+      assert isinstance(value, Value)
       self.value = value
       self.addDef(value)
    def __repr__(self):