mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-26 03:38:25 +08:00
Revert accidentally committed code.
This commit is contained in:
parent
ad1049d59a
commit
cdb29f9caa
@ -1151,12 +1151,8 @@ class LLVMIRGenerator:
|
|||||||
byvals = [i + 1 for i in byvals]
|
byvals = [i + 1 for i in byvals]
|
||||||
for i in byvals:
|
for i in byvals:
|
||||||
llfun.args[i].add_attribute('byval')
|
llfun.args[i].add_attribute('byval')
|
||||||
|
if 'nounwind' in insn.target_function().type.flags:
|
||||||
flags = insn.target_function().type.flags
|
|
||||||
if 'nounwind' in flags:
|
|
||||||
llfun.attributes.add('nounwind')
|
llfun.attributes.add('nounwind')
|
||||||
if 'nowrite' in flags:
|
|
||||||
llfun.attributes.add('inaccessiblememonly')
|
|
||||||
|
|
||||||
return llfun, list(llargs)
|
return llfun, list(llargs)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user