diff --git a/ll.py b/ll.py index 6234811..b34838e 100644 --- a/ll.py +++ b/ll.py @@ -51,7 +51,7 @@ Block = namedtuple('Block', ['insns', 'terminator']) Binop = namedtuple('Binop', ['bop', 'ty', 'left', 'right']) Alloca = namedtuple('Alloca', ['ty']) -Load = namedtuple('Load', ['ty', 'oper']) +Load = namedtuple('Load', ['ty', 'location']) Store = namedtuple('Store', ['ty', 'value', 'location']) Icmp = namedtuple('Icmp', ['cnd', 'ty', 'left', 'right']) Call = namedtuple('Call', ['return_ty', 'callee', 'arguments'])