(func_var, call_table)
return ((len(call_list) == 2 and call_list[1] == np
             and call_list[0] in ['empty', 'zeros', 'ones', 'full'])
            or call_list == [numba.unsafe.ndarray.empty_inferred])
return true if func_var represents an array creation call
return true if func_var represents an array creation call
return true if func_var represents an array creation call
def is_alloc_call(func_var, call_table):
    """
    return true if func_var represents an array creation call
    """
    assert func_var in call_table
    call_list = call_table[func_var]
    return ((len(call_list) == 2 and call_list[1] == np
             and call_list[0] in ['empty', 'zeros', 'ones', 'full'])
            or call_list == [numba.unsafe.ndarray.empty_inferred])
def is_alloc_call ( func_var , call_table ) : assert func_var in call_table call_list = call_table [ func_var ] return ( ( len ( call_list ) == 2 and call_list [ 1 ] == np and call_list [ 0 ] in [ 'empty' , 'zeros' , 'ones' , 'full' ] ) or call_list == [ numba . unsafe . ndarray . empty_inferred ] )