|
|
|
|
|
// Local variable declarations. |
|
// Local variable declarations. |
|
PyObject *var_y = NULL; |
|
PyObject *var_y = NULL; |
|
PyObject *var_gen = NULL; |
|
PyObject *var_gen = NULL; |
|
PyObject *tmp_genexpr_1__$0 = NULL; |
|
PyObject *tmp_genexpr_1__$0 = NULL; |
n |
struct Nuitka_FrameObject *frame_2a5f728f1c76e11de5cf7de9353cd124; |
n |
|
|
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; |
|
|
|
PyObject *exception_type = NULL; |
|
|
|
PyObject *exception_value = NULL; |
|
|
|
PyTracebackObject *exception_tb = NULL; |
|
|
|
NUITKA_MAY_BE_UNUSED int exception_lineno = 0; |
|
|
|
static struct Nuitka_FrameObject *cache_frame_2a5f728f1c76e11de5cf7de9353cd124 = NULL; |
|
|
|
PyObject *tmp_return_value = NULL; |
|
PyObject *tmp_return_value = NULL; |
n |
PyObject *exception_keeper_type_1; |
n |
|
|
PyObject *exception_keeper_value_1; |
|
|
|
PyTracebackObject *exception_keeper_tb_1; |
|
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; |
|
|
|
|
|
|
|
// Actual function body. |
|
// Actual function body. |
|
{ |
|
{ |
|
PyObject *tmp_assign_source_1; |
|
PyObject *tmp_assign_source_1; |
|
{ |
|
{ |
|
return NULL; |
|
return NULL; |
|
outline_result_1:; |
|
outline_result_1:; |
|
assert( var_gen == NULL ); |
|
assert( var_gen == NULL ); |
|
var_gen = tmp_assign_source_1; |
|
var_gen = tmp_assign_source_1; |
|
} |
|
} |
n |
|
n |
{ |
|
|
|
PyObject *tmp_assign_source_3; |
|
|
|
CHECK_OBJECT( var_gen ); |
|
|
|
tmp_assign_source_3 = var_gen; |
|
|
|
assert( var_y == NULL ); |
|
|
|
Py_INCREF( tmp_assign_source_3 ); |
|
|
|
var_y = tmp_assign_source_3; |
|
|
|
} |
|
// Tried code: |
|
// Tried code: |
n |
MAKE_OR_REUSE_FRAME( cache_frame_2a5f728f1c76e11de5cf7de9353cd124, codeobj_2a5f728f1c76e11de5cf7de9353cd124, module___main__, sizeof(void *)+sizeof(void *) ); |
n |
|
|
frame_2a5f728f1c76e11de5cf7de9353cd124 = cache_frame_2a5f728f1c76e11de5cf7de9353cd124; |
|
|
|
|
|
|
|
// Push the new frame as the currently active one. |
|
|
|
pushFrameStack( frame_2a5f728f1c76e11de5cf7de9353cd124 ); |
|
|
|
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse. |
|
|
|
assert( Py_REFCNT( frame_2a5f728f1c76e11de5cf7de9353cd124 ) == 2 ); // Frame stack |
|
|
|
|
|
|
|
// Framed code: |
|
|
|
{ |
|
|
|
PyObject *tmp_assign_source_3; |
|
|
|
PyObject *tmp_sum_sequence_1; |
|
|
|
CHECK_OBJECT( var_gen ); |
|
|
|
tmp_sum_sequence_1 = var_gen; |
|
|
|
tmp_assign_source_3 = BUILTIN_SUM1( tmp_sum_sequence_1 ); |
|
|
|
if ( tmp_assign_source_3 == NULL ) |
|
|
|
{ |
|
|
|
assert( ERROR_OCCURRED() ); |
|
|
|
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); |
|
|
|
|
|
|
|
|
|
|
|
exception_lineno = 29; |
|
|
|
type_description_1 = "oo"; |
|
|
|
goto frame_exception_exit_1; |
|
|
|
} |
|
|
|
assert( var_y == NULL ); |
|
|
|
var_y = tmp_assign_source_3; |
|
|
|
} |
|
|
|
|
|
|
|
#if 0 |
|
|
|
RESTORE_FRAME_EXCEPTION( frame_2a5f728f1c76e11de5cf7de9353cd124 ); |
|
|
|
#endif |
|
|
|
|
|
|
|
// Put the previous frame back on top. |
|
|
|
popFrameStack(); |
|
|
|
|
|
|
|
goto frame_no_exception_1; |
|
|
|
|
|
|
|
frame_exception_exit_1:; |
|
|
|
|
|
|
|
#if 0 |
|
|
|
RESTORE_FRAME_EXCEPTION( frame_2a5f728f1c76e11de5cf7de9353cd124 ); |
|
|
|
#endif |
|
|
|
|
|
|
|
if ( exception_tb == NULL ) |
|
|
|
{ |
|
|
|
exception_tb = MAKE_TRACEBACK( frame_2a5f728f1c76e11de5cf7de9353cd124, exception_lineno ); |
|
|
|
} |
|
|
|
else if ( exception_tb->tb_frame != &frame_2a5f728f1c76e11de5cf7de9353cd124->m_frame ) |
|
|
|
{ |
|
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_2a5f728f1c76e11de5cf7de9353cd124, exception_lineno ); |
|
|
|
} |
|
|
|
|
|
|
|
// Attachs locals to frame if any. |
|
|
|
Nuitka_Frame_AttachLocals( |
|
|
|
(struct Nuitka_FrameObject *)frame_2a5f728f1c76e11de5cf7de9353cd124, |
|
|
|
type_description_1, |
|
|
|
var_y, |
|
|
|
var_gen |
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
// Release cached frame. |
|
|
|
if ( frame_2a5f728f1c76e11de5cf7de9353cd124 == cache_frame_2a5f728f1c76e11de5cf7de9353cd124 ) |
|
|
|
{ |
|
|
|
Py_DECREF( frame_2a5f728f1c76e11de5cf7de9353cd124 ); |
|
|
|
} |
|
|
|
cache_frame_2a5f728f1c76e11de5cf7de9353cd124 = NULL; |
|
|
|
|
|
|
|
assertFrameObject( frame_2a5f728f1c76e11de5cf7de9353cd124 ); |
|
|
|
|
|
|
|
// Put the previous frame back on top. |
|
|
|
popFrameStack(); |
|
|
|
|
|
|
|
// Return the error. |
|
|
|
goto try_except_handler_2; |
|
|
|
|
|
|
|
frame_no_exception_1:; |
|
|
|
{ |
|
{ |
|
PyObject *tmp_tuple_element_1; |
|
PyObject *tmp_tuple_element_1; |
|
CHECK_OBJECT( var_y ); |
|
CHECK_OBJECT( var_y ); |
|
tmp_tuple_element_1 = var_y; |
|
tmp_tuple_element_1 = var_y; |
|
tmp_return_value = PyTuple_New( 2 ); |
|
tmp_return_value = PyTuple_New( 2 ); |
|
CHECK_OBJECT( (PyObject *)var_gen ); |
|
CHECK_OBJECT( (PyObject *)var_gen ); |
|
Py_DECREF( var_gen ); |
|
Py_DECREF( var_gen ); |
|
var_gen = NULL; |
|
var_gen = NULL; |
|
|
|
|
|
goto function_return_exit; |
|
goto function_return_exit; |
n |
// Exception handler code: |
n |
|
|
try_except_handler_2:; |
|
|
|
exception_keeper_type_1 = exception_type; |
|
|
|
exception_keeper_value_1 = exception_value; |
|
|
|
exception_keeper_tb_1 = exception_tb; |
|
|
|
exception_keeper_lineno_1 = exception_lineno; |
|
|
|
exception_type = NULL; |
|
|
|
exception_value = NULL; |
|
|
|
exception_tb = NULL; |
|
|
|
exception_lineno = 0; |
|
|
|
|
|
|
|
CHECK_OBJECT( (PyObject *)var_gen ); |
|
|
|
Py_DECREF( var_gen ); |
|
|
|
var_gen = NULL; |
|
|
|
|
|
|
|
// Re-raise. |
|
|
|
exception_type = exception_keeper_type_1; |
|
|
|
exception_value = exception_keeper_value_1; |
|
|
|
exception_tb = exception_keeper_tb_1; |
|
|
|
exception_lineno = exception_keeper_lineno_1; |
|
|
|
|
|
|
|
goto function_exception_exit; |
|
|
|
// End of try: |
|
// End of try: |
|
|
|
|
|
// Return statement must have exited already. |
|
// Return statement must have exited already. |
|
NUITKA_CANNOT_GET_HERE( __main__$$$function_1_calledRepeatedly ); |
|
NUITKA_CANNOT_GET_HERE( __main__$$$function_1_calledRepeatedly ); |
|
return NULL; |
|
return NULL; |
|
|
|
|
t |
function_exception_exit: |
t |
|
|
assert( exception_type ); |
|
|
|
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); |
|
|
|
|
|
|
|
return NULL; |
|
|
|
|
|
|
|
function_return_exit: |
|
function_return_exit: |
|
// Function cleanup code if any. |
|
// Function cleanup code if any. |
|
|
|
|
|
|
|
|