This commit is contained in:
Sebastien Bourdeauducq 2018-12-02 18:26:54 +08:00
parent 8940009e1a
commit dd03fdfd1a

View File

@ -151,7 +151,7 @@ class LLVMIRGenerator:
])
assert self.lldatalayout in "eE"
self.little_endian = self.self.lldatalayout[0] == "e"
self.little_endian = self.lldatalayout[0] == "e"
def needs_sret(self, lltyp, may_be_large=True):
if isinstance(lltyp, ll.VoidType):