From 1dc258d26f4b62c47df3875c7953c0aad9d1d0b2 Mon Sep 17 00:00:00 2001 From: cfreksen Date: Sun, 29 Oct 2017 21:33:29 +0100 Subject: [PATCH] Rename field in ll.Load. --- ll.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'])