|
static PyCodeObject *codeobj_a827011490735824ec608112649481e7; |
|
static PyCodeObject *codeobj_a827011490735824ec608112649481e7; |
|
/* For use in "MainProgram.c". */ |
|
/* For use in "MainProgram.c". */ |
|
PyCodeObject *codeobj_main = NULL; |
|
PyCodeObject *codeobj_main = NULL; |
|
|
|
|
|
static void createModuleCodeObjects(void) { |
|
static void createModuleCodeObjects(void) { |
n |
module_filename_obj = mod_consts[2]; CHECK_OBJECT(module_filename_obj); |
n |
module_filename_obj = mod_consts[1]; CHECK_OBJECT(module_filename_obj); |
|
codeobj_384d25b7fe7c81bb6cb90de19d42cdbb = MAKE_CODE_OBJECT(module_filename_obj, 1, CO_NOFREE, mod_consts[10], mod_consts[10], NULL, NULL, 0, 0, 0); |
|
codeobj_384d25b7fe7c81bb6cb90de19d42cdbb = MAKE_CODE_OBJECT(module_filename_obj, 1, CO_NOFREE, mod_consts[10], mod_consts[10], NULL, NULL, 0, 0, 0); |
|
codeobj_main = codeobj_384d25b7fe7c81bb6cb90de19d42cdbb; |
|
codeobj_main = codeobj_384d25b7fe7c81bb6cb90de19d42cdbb; |
|
codeobj_a827011490735824ec608112649481e7 = MAKE_CODE_OBJECT(module_filename_obj, 23, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[5], mod_consts[5], mod_consts[11], NULL, 0, 0, 0); |
|
codeobj_a827011490735824ec608112649481e7 = MAKE_CODE_OBJECT(module_filename_obj, 23, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[5], mod_consts[5], mod_consts[11], NULL, 0, 0, 0); |
|
} |
|
} |
|
|
|
|
|
// The module function declarations. |
|
// The module function declarations. |
|
static PyObject *MAKE_FUNCTION___main__$$$function__1_calledRepeatedly(); |
|
static PyObject *MAKE_FUNCTION___main__$$$function__1_calledRepeatedly(); |
|
|
|
|
|
|
|
|
|
// The module function definitions. |
|
// The module function definitions. |
n |
static PyObject *impl___main__$$$function__1_calledRepeatedly(PyThreadState *tstate, struct Nuitka_FunctionObject const *self, PyObject **python_pars) { |
n |
|
|
// Preserve error status for checks |
|
|
|
#ifndef __NUITKA_NO_ASSERT__ |
|
|
|
NUITKA_MAY_BE_UNUSED bool had_error = HAS_ERROR_OCCURRED(tstate); |
|
|
|
#endif |
|
|
|
|
|
|
|
// Local variable declarations. |
|
|
|
PyObject *var_l = NULL; |
|
|
|
PyObject *tmp_return_value = NULL; |
|
|
|
|
|
|
|
// Actual function body. |
|
|
|
{ |
|
|
|
PyObject *tmp_assign_source_1; |
|
|
|
tmp_assign_source_1 = MAKE_LIST8(mod_consts[0]); |
|
|
|
assert(var_l == NULL); |
|
|
|
var_l = tmp_assign_source_1; |
|
|
|
} |
|
|
|
// Tried code: |
|
|
|
CHECK_OBJECT(var_l); |
|
|
|
tmp_return_value = var_l; |
|
|
|
Py_INCREF(tmp_return_value); |
|
|
|
goto try_return_handler_1; |
|
|
|
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); |
|
|
|
return NULL; |
|
|
|
// Return handler code: |
|
|
|
try_return_handler_1:; |
|
|
|
CHECK_OBJECT(var_l); |
|
|
|
Py_DECREF(var_l); |
|
|
|
var_l = NULL; |
|
|
|
goto function_return_exit; |
|
|
|
// End of try: |
|
|
|
|
|
|
|
NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); |
|
|
|
return NULL; |
|
|
|
|
|
|
|
|
|
|
|
function_return_exit: |
|
|
|
// Function cleanup code if any. |
|
|
|
|
|
|
|
|
|
|
|
// Actual function exit with return value, making sure we did not make |
|
|
|
// the error status worse despite non-NULL return. |
|
|
|
CHECK_OBJECT(tmp_return_value); |
|
|
|
assert(had_error || !HAS_ERROR_OCCURRED(tstate)); |
|
|
|
return tmp_return_value; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION___main__$$$function__1_calledRepeatedly() { |
|
static PyObject *MAKE_FUNCTION___main__$$$function__1_calledRepeatedly() { |
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New( |
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New( |
n |
impl___main__$$$function__1_calledRepeatedly, |
n |
NULL, |
|
mod_consts[5], |
|
mod_consts[5], |
|
#if PYTHON_VERSION >= 0x300 |
|
#if PYTHON_VERSION >= 0x300 |
|
NULL, |
|
NULL, |
|
#endif |
|
#endif |
|
codeobj_a827011490735824ec608112649481e7, |
|
codeobj_a827011490735824ec608112649481e7, |
|
// Provide a way to create find a function via its C code and create it back |
|
// Provide a way to create find a function via its C code and create it back |
|
// in another process, useful for multiprocessing extensions like dill |
|
// in another process, useful for multiprocessing extensions like dill |
|
extern void registerDillPluginTables(PyThreadState *tstate, char const *module_name, PyMethodDef *reduce_compiled_function, PyMethodDef *create_compiled_function); |
|
extern void registerDillPluginTables(PyThreadState *tstate, char const *module_name, PyMethodDef *reduce_compiled_function, PyMethodDef *create_compiled_function); |
|
|
|
|
|
function_impl_code functable___main__[] = { |
|
function_impl_code functable___main__[] = { |
n |
impl___main__$$$function__1_calledRepeatedly, |
n |
NULL, |
|
NULL |
|
NULL |
|
}; |
|
}; |
|
|
|
|
|
static char const *_reduce_compiled_function_argnames[] = { |
|
static char const *_reduce_compiled_function_argnames[] = { |
|
"func", |
|
"func", |
|
|
|
|
|
// Module code. |
|
// Module code. |
|
{ |
|
{ |
|
PyObject *tmp_assign_source_1; |
|
PyObject *tmp_assign_source_1; |
|
tmp_assign_source_1 = Py_None; |
|
tmp_assign_source_1 = Py_None; |
n |
UPDATE_STRING_DICT0(moduledict___main__, (Nuitka_StringObject *)mod_consts[1], tmp_assign_source_1); |
n |
UPDATE_STRING_DICT0(moduledict___main__, (Nuitka_StringObject *)mod_consts[0], tmp_assign_source_1); |
|
} |
|
} |
|
{ |
|
{ |
|
PyObject *tmp_assign_source_2; |
|
PyObject *tmp_assign_source_2; |
n |
tmp_assign_source_2 = mod_consts[2]; |
n |
tmp_assign_source_2 = mod_consts[1]; |
|
UPDATE_STRING_DICT0(moduledict___main__, (Nuitka_StringObject *)mod_consts[3], tmp_assign_source_2); |
|
UPDATE_STRING_DICT0(moduledict___main__, (Nuitka_StringObject *)mod_consts[2], tmp_assign_source_2); |
|
} |
|
} |
|
frame_384d25b7fe7c81bb6cb90de19d42cdbb = MAKE_MODULE_FRAME(codeobj_384d25b7fe7c81bb6cb90de19d42cdbb, module___main__); |
|
frame_384d25b7fe7c81bb6cb90de19d42cdbb = MAKE_MODULE_FRAME(codeobj_384d25b7fe7c81bb6cb90de19d42cdbb, module___main__); |
|
|
|
|
|
// Push the new frame as the currently active one, and we should be exclusively |
|
// Push the new frame as the currently active one, and we should be exclusively |
|
// owning it. |
|
// owning it. |
|
|
|
|
|
// Framed code: |
|
// Framed code: |
|
{ |
|
{ |
|
PyObject *tmp_assign_source_3; |
|
PyObject *tmp_assign_source_3; |
|
frame_384d25b7fe7c81bb6cb90de19d42cdbb->m_frame.f_lineno = 20; |
|
frame_384d25b7fe7c81bb6cb90de19d42cdbb->m_frame.f_lineno = 20; |
n |
tmp_assign_source_3 = IMPORT_MODULE_FIXED(tstate, mod_consts[4], mod_consts[4]); |
n |
tmp_assign_source_3 = IMPORT_MODULE_FIXED(tstate, mod_consts[3], mod_consts[3]); |
|
if (tmp_assign_source_3 == NULL) { |
|
if (tmp_assign_source_3 == NULL) { |
|
assert(HAS_ERROR_OCCURRED(tstate)); |
|
assert(HAS_ERROR_OCCURRED(tstate)); |
|
|
|
|
|
FETCH_ERROR_OCCURRED(tstate, &exception_type, &exception_value, &exception_tb); |
|
FETCH_ERROR_OCCURRED(tstate, &exception_type, &exception_value, &exception_tb); |
|
|
|
|
|
|
|
|
|
exception_lineno = 20; |
|
exception_lineno = 20; |
|
|
|
|
|
goto frame_exception_exit_1; |
|
goto frame_exception_exit_1; |
|
} |
|
} |
n |
UPDATE_STRING_DICT1(moduledict___main__, (Nuitka_StringObject *)mod_consts[4], tmp_assign_source_3); |
n |
UPDATE_STRING_DICT1(moduledict___main__, (Nuitka_StringObject *)mod_consts[3], tmp_assign_source_3); |
|
} |
|
} |
|
{ |
|
{ |
|
PyObject *tmp_assign_source_4; |
|
PyObject *tmp_assign_source_4; |
|
|
|
|
|
|
|
|
|
} |
|
} |
|
{ |
|
{ |
|
PyObject *tmp_assign_source_5; |
|
PyObject *tmp_assign_source_5; |
|
PyObject *tmp_iter_arg_1; |
|
PyObject *tmp_iter_arg_1; |
|
PyObject *tmp_called_instance_1; |
|
PyObject *tmp_called_instance_1; |
n |
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict___main__, (Nuitka_StringObject *)mod_consts[4]); |
n |
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict___main__, (Nuitka_StringObject *)mod_consts[3]); |
|
|
|
|
|
if (unlikely(tmp_called_instance_1 == NULL)) { |
|
if (unlikely(tmp_called_instance_1 == NULL)) { |
t |
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(tstate, mod_consts[4]); |
t |
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(tstate, mod_consts[3]); |
|
} |
|
} |
|
|
|
|
|
assert(!(tmp_called_instance_1 == NULL)); |
|
assert(!(tmp_called_instance_1 == NULL)); |
|
frame_384d25b7fe7c81bb6cb90de19d42cdbb->m_frame.f_lineno = 33; |
|
frame_384d25b7fe7c81bb6cb90de19d42cdbb->m_frame.f_lineno = 33; |
|
tmp_iter_arg_1 = CALL_METHOD_WITH_ARGS2( |
|
tmp_iter_arg_1 = CALL_METHOD_WITH_ARGS2( |