does not throw property for Function (Andrew Straw)
git-svn-id: http://llvm-py.googlecode.com/svn/trunk@79 8d1e9007-1d4e-0410-b67e-1979fd6579aa
This commit is contained in:
parent
d0e4e09a5d
commit
6cb58c97d7
5 changed files with 33 additions and 1 deletions
|
|
@ -282,6 +282,8 @@ def do_function():
|
|||
f.delete()
|
||||
ft = Type.function(ti, [ti]*20)
|
||||
f = Function.new(m, ft, 'func2')
|
||||
has_nounwind = f.does_not_throw
|
||||
f.does_not_throw = True
|
||||
f2 = Function.intrinsic(m, INTR_COS, [ti])
|
||||
g = f.intrinsic_id
|
||||
f.calling_convenion = CC_FASTCALL
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue