#NEWLINE# def call_function( self , builder , callee , resty , argtys , args , env = None ) : #NEWLINE# #INDENT# '\n        Call the Numba-compiled *callee*.\n        ' #NEWLINE# assert ( env is None ) #NEWLINE# retty = callee . args [ 0 ] . type . pointee #NEWLINE# retvaltmp = cgutils . alloca_once ( builder , retty ) #NEWLINE# builder . store ( cgutils . get_null_value ( retty ) , retvaltmp ) #NEWLINE# arginfo = self . context . get_arg_packer ( argtys ) #NEWLINE# args = arginfo . as_arguments ( builder , args ) #NEWLINE# realargs = ( [ retvaltmp ] + list ( args ) ) #NEWLINE# code = builder . call ( callee , realargs ) #NEWLINE# status = self . _get_return_status ( builder , code ) #NEWLINE# retval = builder . load ( retvaltmp ) #NEWLINE# out = self . context . get_returned_value ( builder , resty , retval ) #NEWLINE# return ( status , out )