Added llvm.core.Argument.alignment
git-svn-id: http://llvm-py.googlecode.com/svn/trunk@101 8d1e9007-1d4e-0410-b67e-1979fd6579aa
This commit is contained in:
parent
7f74b220e4
commit
b7fa3e8fa1
4 changed files with 38 additions and 2 deletions
|
|
@ -1260,9 +1260,15 @@ class Argument(Value):
|
|||
def remove_attribute(self, attr):
|
||||
_core.LLVMRemoveAttribute(self.ptr, attr)
|
||||
|
||||
def set_alignment(self, align):
|
||||
def _set_alignment(self, align):
|
||||
_core.LLVMSetParamAlignment(self.ptr, align)
|
||||
|
||||
def _get_alignment(self):
|
||||
return _core.LLVMGetParamAlignment(self.ptr)
|
||||
|
||||
alignment = \
|
||||
property(_get_alignment, _set_alignment)
|
||||
|
||||
|
||||
class Function(GlobalValue):
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue