Skip to content

Commit

Permalink
Revert accidentally committed code.
Browse files Browse the repository at this point in the history
whitequark committed Nov 20, 2016
1 parent ad1049d commit cdb29f9
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions artiq/compiler/transforms/llvm_ir_generator.py
Original file line number Diff line number Diff line change
@@ -1151,12 +1151,8 @@ def _prepare_ffi_call(self, insn):
byvals = [i + 1 for i in byvals]
for i in byvals:
llfun.args[i].add_attribute('byval')

flags = insn.target_function().type.flags
if 'nounwind' in flags:
if 'nounwind' in insn.target_function().type.flags:
llfun.attributes.add('nounwind')
if 'nowrite' in flags:
llfun.attributes.add('inaccessiblememonly')

return llfun, list(llargs)

0 comments on commit cdb29f9

Please sign in to comment.