Rename field in ll.Load.

This commit is contained in:
cfreksen 2017-10-29 21:33:29 +01:00
parent 4fca74304a
commit 1dc258d26f
No known key found for this signature in database
GPG Key ID: EAC13EE101008978

2
ll.py
View File

@ -51,7 +51,7 @@ Block = namedtuple('Block', ['insns', 'terminator'])
Binop = namedtuple('Binop', ['bop', 'ty', 'left', 'right']) Binop = namedtuple('Binop', ['bop', 'ty', 'left', 'right'])
Alloca = namedtuple('Alloca', ['ty']) Alloca = namedtuple('Alloca', ['ty'])
Load = namedtuple('Load', ['ty', 'oper']) Load = namedtuple('Load', ['ty', 'location'])
Store = namedtuple('Store', ['ty', 'value', 'location']) Store = namedtuple('Store', ['ty', 'value', 'location'])
Icmp = namedtuple('Icmp', ['cnd', 'ty', 'left', 'right']) Icmp = namedtuple('Icmp', ['cnd', 'ty', 'left', 'right'])
Call = namedtuple('Call', ['return_ty', 'callee', 'arguments']) Call = namedtuple('Call', ['return_ty', 'callee', 'arguments'])