Tail call property for call sites (tarkasteve, issue #19)

git-svn-id: http://llvm-py.googlecode.com/svn/trunk@81 8d1e9007-1d4e-0410-b67e-1979fd6579aa
This commit is contained in:
mdevan.foobar 2009-09-20 09:44:08 +00:00
commit 64d54c49f0
2 changed files with 9 additions and 0 deletions

View file

@ -1404,6 +1404,10 @@ class CallOrInvokeInstruction(Instruction):
def set_parameter_alignment(self, idx, align):
_core.LLVMSetInstrParamAlignment(self.ptr, idx, align)
def _get_tc(self): return _core.LLVMIsTailCall(self.ptr)
def _set_tc(self, value): _core.LLVMSetTailCall(self.ptr, value)
tail_call = property(_get_tc, _set_tc)
class PHINode(Instruction):