Implement property CallOrInvokeInstruction.called_function
Also add a testcase.
This commit is contained in:
parent
5d14461c84
commit
5bd4991f0b
5 changed files with 20 additions and 1 deletions
|
|
@ -645,7 +645,7 @@ _wrap_objintenum2none(LLVMRemoveInstrAttribute, LLVMValueRef, LLVMAttribute)
|
|||
_wrap_objintint2none(LLVMSetInstrParamAlignment, LLVMValueRef)
|
||||
_wrap_obj2obj(LLVMIsTailCall, LLVMValueRef, int)
|
||||
_wrap_objint2none(LLVMSetTailCall, LLVMValueRef)
|
||||
|
||||
_wrap_obj2obj(LLVMInstGetCalledFunction, LLVMValueRef, LLVMValueRef)
|
||||
|
||||
/*===-- PHI Nodes --------------------------------------------------------===*/
|
||||
|
||||
|
|
@ -1716,6 +1716,7 @@ static PyMethodDef core_methods[] = {
|
|||
_method( LLVMAddInstrAttribute )
|
||||
_method( LLVMRemoveInstrAttribute )
|
||||
_method( LLVMSetInstrParamAlignment )
|
||||
_method( LLVMInstGetCalledFunction )
|
||||
|
||||
/* PHI Nodes */
|
||||
_method( LLVMAddIncoming1 )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue