Construct CallUncompiledFunctionPosArgs

Performance Diagrams

Construct CallUncompiledFunctionPosArgs 002000000020000000400000004000000060000000600000008000000080000000100000000100000000120000000120000000140000000140000000160000000160000000CPython 2.7Nuitka (master)Nuitka (develop)Nuitka (factory)16493771788.11538461538461257.0CPython 2.7109942658240.03846153846155339.3954969422232Nuitka (master)109942795391.96153846153845339.39529168409115Nuitka (develop)109941937543.8846153846154339.39657716932675Nuitka (factory)Construct CallUncompiledFunctionPosArgsTicks Construct CallUncompiledFunctionPosArgs 00100000001000000020000000200000003000000030000000400000004000000050000000500000006000000060000000700000007000000080000000800000009000000090000000100000000100000000110000000110000000120000000120000000130000000130000000140000000140000000150000000150000000CPython 3.5Nuitka (master)Nuitka (develop)Nuitka (factory)15395699588.11538461538461257.0CPython 3.5102811734240.03846153846155339.09293019306614Nuitka (master)102811351391.96153846153845339.0935449439081Nuitka (develop)102811335543.8846153846154339.09357062540545Nuitka (factory)Construct CallUncompiledFunctionPosArgsTicks

Source Code with Construct

from __future__ import print_function

exec("""
def python_func(a,b,c,d,e,f):
    pass
""")

def calledRepeatedly():
    # This is supposed to make a call to a non-compiled function, which is
    # being optimized separately.
# construct_begin
    python_func("some", "random", "values", "to", "check", "call")
    python_func("some", "other", "values", "to", "check", "call")
    python_func("some", "new", "values", "to", "check", "call")
# construct_alternative



import itertools
for x in itertools.repeat(None, 50000):
    calledRepeatedly()

print("OK.")

Source Code without Construct

from __future__ import print_function

exec("""
def python_func(a,b,c,d,e,f):
    pass
""")

def calledRepeatedly():
    # This is supposed to make a call to a non-compiled function, which is
    # being optimized separately.
# construct_begin



# construct_alternative
    pass
# construct_end

import itertools
for x in itertools.repeat(None, 50000):
    calledRepeatedly()

print("OK.")

Context Diff of Source Code


Construct
Baseline
26 26
27 def calledRepeatedly(): 27 def calledRepeatedly():
28     # This is supposed to make a call to a non-compiled function, which is 28     # This is supposed to make a call to a non-compiled function, which is
29     # being optimized separately. 29     # being optimized separately.
30 # construct_begin 30 # construct_begin
n 31     python_func("some", "random", "values", "to", "check", "call") n
32     python_func("some", "other", "values", "to", "check", "call")
33     python_func("some", "new", "values", "to", "check", "call")
34 # construct_alternative
35 31
36 32
t t 33  
34 # construct_alternative
35     pass
36 # construct_end
37 37
38 import itertools 38 import itertools
39 for x in itertools.repeat(None, 50000): 39 for x in itertools.repeat(None, 50000):
40     calledRepeatedly() 40     calledRepeatedly()
41 41

Context Diff of Generated Code


Construct
Baseline
29 29
30 PyObject *module___main__; 30 PyObject *module___main__;
31 PyDictObject *moduledict___main__; 31 PyDictObject *moduledict___main__;
32 32
33 /* The declarations of module constants used, if any. */ 33 /* The declarations of module constants used, if any. */
n 34 static PyObject *const_str_plain_to; n
35 static PyObject *const_str_plain_itertools; 34 static PyObject *const_str_plain_itertools;
36 static PyObject *const_str_digest_40641b58ed6f61cc974b85218932eb8d; 35 static PyObject *const_str_digest_40641b58ed6f61cc974b85218932eb8d;
n 37 static PyObject *const_tuple_4cee4124c8df2995a8a82b981e580f5e_tuple; n
38 static PyObject *const_str_plain_values;
39 extern PyObject *const_str_plain___file__; 36 extern PyObject *const_str_plain___file__;
n 40 static PyObject *const_str_plain_other; n
41 extern PyObject *const_int_0; 37 extern PyObject *const_int_0;
42 static PyObject *const_str_digest_949ffc043a2ae243e8a0479efa3eb31f; 38 static PyObject *const_str_digest_949ffc043a2ae243e8a0479efa3eb31f;
n 43 static PyObject *const_str_plain_check; n
44 extern PyObject *const_str_plain_print; 39 extern PyObject *const_str_plain_print;
n 45 static PyObject *const_str_plain_call; n
46 static PyObject *const_int_pos_50000; 40 static PyObject *const_int_pos_50000;
47 static PyObject *const_tuple_str_digest_5ed1392909ad16e6227b8230f4582352_tuple; 41 static PyObject *const_tuple_str_digest_5ed1392909ad16e6227b8230f4582352_tuple;
n 48 static PyObject *const_str_plain_random; n
49 static PyObject *const_str_plain_print_function; 42 static PyObject *const_str_plain_print_function;
50 static PyObject *const_str_plain_calledRepeatedly; 43 static PyObject *const_str_plain_calledRepeatedly;
51 static PyObject *const_str_angle_module; 44 static PyObject *const_str_angle_module;
52 static PyObject *const_str_plain_None; 45 static PyObject *const_str_plain_None;
53 static PyObject *const_str_plain_x; 46 static PyObject *const_str_plain_x;
54 extern PyObject *const_tuple_empty; 47 extern PyObject *const_tuple_empty;
55 static PyObject *const_str_digest_5ed1392909ad16e6227b8230f4582352; 48 static PyObject *const_str_digest_5ed1392909ad16e6227b8230f4582352;
n 56 static PyObject *const_str_plain_python_func; n
57 static PyObject *const_str_plain_some;
58 static PyObject *const_str_plain_repeat; 49 static PyObject *const_str_plain_repeat;
n 59 static PyObject *const_str_plain_new; n
60 static PyObject *const_tuple_none_int_pos_50000_tuple; 50 static PyObject *const_tuple_none_int_pos_50000_tuple;
61 extern PyObject *const_str_plain___main__; 51 extern PyObject *const_str_plain___main__;
n 62 static PyObject *const_tuple_78e2f1ad354bdb7db1a0fda186168ee0_tuple; n
63 static PyObject *const_str_angle_string; 52 static PyObject *const_str_angle_string;
n 64 static PyObject *const_tuple_ca2f155a28955fc472d4376e2721d689_tuple; n
65 extern PyObject *const_str_plain___doc__; 53 extern PyObject *const_str_plain___doc__;
66 extern PyObject *const_str_plain___cached__; 54 extern PyObject *const_str_plain___cached__;
67 static PyObject *const_str_plain_exec; 55 static PyObject *const_str_plain_exec;
68 static PyObject *module_filename_obj; 56 static PyObject *module_filename_obj;
69 57
71 static bool constants_created = false; 59 static bool constants_created = false;
72 60
73 /* Function to create module private constants. */ 61 /* Function to create module private constants. */
74 static void createModuleConstants( void ) 62 static void createModuleConstants( void )
75 { 63 {
n 76     const_str_plain_to = UNSTREAM_STRING_ASCII( &constant_bin[ 0 ], 2, 1 ); n
77     const_str_plain_itertools = UNSTREAM_STRING_ASCII( &constant_bin[ 2 ], 9, 1 ); 64     const_str_plain_itertools = UNSTREAM_STRING_ASCII( &constant_bin[ 0 ], 9, 1 );
78     const_str_digest_40641b58ed6f61cc974b85218932eb8d = UNSTREAM_STRING_ASCII( &constant_bin[ 11 ], 40, 0 ); 65     const_str_digest_40641b58ed6f61cc974b85218932eb8d = UNSTREAM_STRING_ASCII( &constant_bin[ 9 ], 40, 0 );
79     const_tuple_4cee4124c8df2995a8a82b981e580f5e_tuple = PyTuple_New( 6 );
80     const_str_plain_some = UNSTREAM_STRING_ASCII( &constant_bin[ 51 ], 4, 1 );
81     PyTuple_SET_ITEM( const_tuple_4cee4124c8df2995a8a82b981e580f5e_tuple, 0, const_str_plain_some ); Py_INCREF( const_str_plain_some );
82     const_str_plain_new = UNSTREAM_STRING_ASCII( &constant_bin[ 55 ], 3, 1 );
83     PyTuple_SET_ITEM( const_tuple_4cee4124c8df2995a8a82b981e580f5e_tuple, 1, const_str_plain_new ); Py_INCREF( const_str_plain_new );
84     const_str_plain_values = UNSTREAM_STRING_ASCII( &constant_bin[ 58 ], 6, 1 );
85     PyTuple_SET_ITEM( const_tuple_4cee4124c8df2995a8a82b981e580f5e_tuple, 2, const_str_plain_values ); Py_INCREF( const_str_plain_values );
86     PyTuple_SET_ITEM( const_tuple_4cee4124c8df2995a8a82b981e580f5e_tuple, 3, const_str_plain_to ); Py_INCREF( const_str_plain_to );
87     const_str_plain_check = UNSTREAM_STRING_ASCII( &constant_bin[ 64 ], 5, 1 );
88     PyTuple_SET_ITEM( const_tuple_4cee4124c8df2995a8a82b981e580f5e_tuple, 4, const_str_plain_check ); Py_INCREF( const_str_plain_check );
89     const_str_plain_call = UNSTREAM_STRING_ASCII( &constant_bin[ 69 ], 4, 1 );
90     PyTuple_SET_ITEM( const_tuple_4cee4124c8df2995a8a82b981e580f5e_tuple, 5, const_str_plain_call ); Py_INCREF( const_str_plain_call );
91     const_str_plain_other = UNSTREAM_STRING_ASCII( &constant_bin[ 73 ], 5, 1 );
92     const_str_digest_949ffc043a2ae243e8a0479efa3eb31f = UNSTREAM_STRING_ASCII( &constant_bin[ 78 ], 80, 0 ); 66     const_str_digest_949ffc043a2ae243e8a0479efa3eb31f = UNSTREAM_STRING_ASCII( &constant_bin[ 49 ], 80, 0 );
93     const_int_pos_50000 = PyLong_FromUnsignedLong( 50000ul ); 67     const_int_pos_50000 = PyLong_FromUnsignedLong( 50000ul );
94     const_tuple_str_digest_5ed1392909ad16e6227b8230f4582352_tuple = PyTuple_New( 1 ); 68     const_tuple_str_digest_5ed1392909ad16e6227b8230f4582352_tuple = PyTuple_New( 1 );
n 95     const_str_digest_5ed1392909ad16e6227b8230f4582352 = UNSTREAM_STRING_ASCII( &constant_bin[ 158 ], 3, 0 ); n 69     const_str_digest_5ed1392909ad16e6227b8230f4582352 = UNSTREAM_STRING_ASCII( &constant_bin[ 129 ], 3, 0 );
96     PyTuple_SET_ITEM( const_tuple_str_digest_5ed1392909ad16e6227b8230f4582352_tuple, 0, const_str_digest_5ed1392909ad16e6227b8230f4582352 ); Py_INCREF( const_str_digest_5ed1392909ad16e6227b8230f4582352 ); 70     PyTuple_SET_ITEM( const_tuple_str_digest_5ed1392909ad16e6227b8230f4582352_tuple, 0, const_str_digest_5ed1392909ad16e6227b8230f4582352 ); Py_INCREF( const_str_digest_5ed1392909ad16e6227b8230f4582352 );
n 97     const_str_plain_random = UNSTREAM_STRING_ASCII( &constant_bin[ 161 ], 6, 1 ); n
98     const_str_plain_print_function = UNSTREAM_STRING_ASCII( &constant_bin[ 167 ], 14, 1 ); 71     const_str_plain_print_function = UNSTREAM_STRING_ASCII( &constant_bin[ 132 ], 14, 1 );
99     const_str_plain_calledRepeatedly = UNSTREAM_STRING_ASCII( &constant_bin[ 181 ], 16, 1 ); 72     const_str_plain_calledRepeatedly = UNSTREAM_STRING_ASCII( &constant_bin[ 146 ], 16, 1 );
100     const_str_angle_module = UNSTREAM_STRING_ASCII( &constant_bin[ 197 ], 8, 0 ); 73     const_str_angle_module = UNSTREAM_STRING_ASCII( &constant_bin[ 162 ], 8, 0 );
101     const_str_plain_None = UNSTREAM_STRING_ASCII( &constant_bin[ 205 ], 4, 1 ); 74     const_str_plain_None = UNSTREAM_STRING_ASCII( &constant_bin[ 170 ], 4, 1 );
102     const_str_plain_x = UNSTREAM_STRING_ASCII( &constant_bin[ 103 ], 1, 1 ); 75     const_str_plain_x = UNSTREAM_STRING_ASCII( &constant_bin[ 74 ], 1, 1 );
103     const_str_plain_python_func = UNSTREAM_STRING_ASCII( &constant_bin[ 16 ], 11, 1 );
104     const_str_plain_repeat = UNSTREAM_STRING_ASCII( &constant_bin[ 209 ], 6, 1 ); 76     const_str_plain_repeat = UNSTREAM_STRING_ASCII( &constant_bin[ 174 ], 6, 1 );
105     const_tuple_none_int_pos_50000_tuple = PyTuple_New( 2 ); 77     const_tuple_none_int_pos_50000_tuple = PyTuple_New( 2 );
106     PyTuple_SET_ITEM( const_tuple_none_int_pos_50000_tuple, 0, Py_None ); Py_INCREF( Py_None ); 78     PyTuple_SET_ITEM( const_tuple_none_int_pos_50000_tuple, 0, Py_None ); Py_INCREF( Py_None );
107     PyTuple_SET_ITEM( const_tuple_none_int_pos_50000_tuple, 1, const_int_pos_50000 ); Py_INCREF( const_int_pos_50000 ); 79     PyTuple_SET_ITEM( const_tuple_none_int_pos_50000_tuple, 1, const_int_pos_50000 ); Py_INCREF( const_int_pos_50000 );
n 108     const_tuple_78e2f1ad354bdb7db1a0fda186168ee0_tuple = PyTuple_New( 6 ); n
109     PyTuple_SET_ITEM( const_tuple_78e2f1ad354bdb7db1a0fda186168ee0_tuple, 0, const_str_plain_some ); Py_INCREF( const_str_plain_some );
110     PyTuple_SET_ITEM( const_tuple_78e2f1ad354bdb7db1a0fda186168ee0_tuple, 1, const_str_plain_random ); Py_INCREF( const_str_plain_random );
111     PyTuple_SET_ITEM( const_tuple_78e2f1ad354bdb7db1a0fda186168ee0_tuple, 2, const_str_plain_values ); Py_INCREF( const_str_plain_values );
112     PyTuple_SET_ITEM( const_tuple_78e2f1ad354bdb7db1a0fda186168ee0_tuple, 3, const_str_plain_to ); Py_INCREF( const_str_plain_to );
113     PyTuple_SET_ITEM( const_tuple_78e2f1ad354bdb7db1a0fda186168ee0_tuple, 4, const_str_plain_check ); Py_INCREF( const_str_plain_check );
114     PyTuple_SET_ITEM( const_tuple_78e2f1ad354bdb7db1a0fda186168ee0_tuple, 5, const_str_plain_call ); Py_INCREF( const_str_plain_call );
115     const_str_angle_string = UNSTREAM_STRING_ASCII( &constant_bin[ 215 ], 8, 0 ); 80     const_str_angle_string = UNSTREAM_STRING_ASCII( &constant_bin[ 180 ], 8, 0 );
116     const_tuple_ca2f155a28955fc472d4376e2721d689_tuple = PyTuple_New( 6 );
117     PyTuple_SET_ITEM( const_tuple_ca2f155a28955fc472d4376e2721d689_tuple, 0, const_str_plain_some ); Py_INCREF( const_str_plain_some );
118     PyTuple_SET_ITEM( const_tuple_ca2f155a28955fc472d4376e2721d689_tuple, 1, const_str_plain_other ); Py_INCREF( const_str_plain_other );
119     PyTuple_SET_ITEM( const_tuple_ca2f155a28955fc472d4376e2721d689_tuple, 2, const_str_plain_values ); Py_INCREF( const_str_plain_values );
120     PyTuple_SET_ITEM( const_tuple_ca2f155a28955fc472d4376e2721d689_tuple, 3, const_str_plain_to ); Py_INCREF( const_str_plain_to );
121     PyTuple_SET_ITEM( const_tuple_ca2f155a28955fc472d4376e2721d689_tuple, 4, const_str_plain_check ); Py_INCREF( const_str_plain_check );
122     PyTuple_SET_ITEM( const_tuple_ca2f155a28955fc472d4376e2721d689_tuple, 5, const_str_plain_call ); Py_INCREF( const_str_plain_call );
123     const_str_plain_exec = UNSTREAM_STRING_ASCII( &constant_bin[ 223 ], 4, 1 ); 81     const_str_plain_exec = UNSTREAM_STRING_ASCII( &constant_bin[ 188 ], 4, 1 );
124 82
125     constants_created = true; 83     constants_created = true;
126 } 84 }
127 85
128 /* Function to verify module private constants for non-corruption. */ 86 /* Function to verify module private constants for non-corruption. */
136 } 94 }
137 #endif 95 #endif
138 96
139 // The module code objects. 97 // The module code objects.
140 static PyCodeObject *codeobj_006c56934d9df942fa83f2554c85f9b3; 98 static PyCodeObject *codeobj_006c56934d9df942fa83f2554c85f9b3;
n 141 static PyCodeObject *codeobj_0034a2193f1accb6963d654d5cd376c9; n 99 static PyCodeObject *codeobj_2c662f8512cd37f26ba736c7b2a12a69;
142 /* For use in "MainProgram.c". */ 100 /* For use in "MainProgram.c". */
143 PyCodeObject *codeobj_main = NULL; 101 PyCodeObject *codeobj_main = NULL;
144 102
145 static void createModuleCodeObjects(void) 103 static void createModuleCodeObjects(void)
146 { 104 {
147     module_filename_obj = const_str_digest_949ffc043a2ae243e8a0479efa3eb31f; 105     module_filename_obj = const_str_digest_949ffc043a2ae243e8a0479efa3eb31f;
148     codeobj_006c56934d9df942fa83f2554c85f9b3 = MAKE_CODEOBJ( module_filename_obj, const_str_angle_module, 1, const_tuple_empty, 0, 0, CO_NOFREE ); 106     codeobj_006c56934d9df942fa83f2554c85f9b3 = MAKE_CODEOBJ( module_filename_obj, const_str_angle_module, 1, const_tuple_empty, 0, 0, CO_NOFREE );
n 149     codeobj_0034a2193f1accb6963d654d5cd376c9 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_calledRepeatedly, 27, const_tuple_empty, 0, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); n 107     codeobj_2c662f8512cd37f26ba736c7b2a12a69 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_calledRepeatedly, 27, const_tuple_empty, 0, 0, CO_NOFREE );
150 } 108 }
151 109
152 // The module function declarations. 110 // The module function declarations.
153 static PyObject *MAKE_FUNCTION___main__$$$function_1_calledRepeatedly(  ); 111 static PyObject *MAKE_FUNCTION___main__$$$function_1_calledRepeatedly(  );
154 112
160 #ifndef __NUITKA_NO_ASSERT__ 118 #ifndef __NUITKA_NO_ASSERT__
161     NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); 119     NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
162 #endif 120 #endif
163 121
164     // Local variable declarations. 122     // Local variable declarations.
n 165     struct Nuitka_FrameObject *frame_0034a2193f1accb6963d654d5cd376c9; n
166     NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
167     PyObject *exception_type = NULL;
168     PyObject *exception_value = NULL;
169     PyTracebackObject *exception_tb = NULL;
170     NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
171     static struct Nuitka_FrameObject *cache_frame_0034a2193f1accb6963d654d5cd376c9 = NULL;
172     PyObject *tmp_return_value = NULL; 123     PyObject *tmp_return_value = NULL;
173 124
174     // Actual function body. 125     // Actual function body.
n 175     MAKE_OR_REUSE_FRAME( cache_frame_0034a2193f1accb6963d654d5cd376c9, codeobj_0034a2193f1accb6963d654d5cd376c9, module___main__, 0 ); n
176     frame_0034a2193f1accb6963d654d5cd376c9 = cache_frame_0034a2193f1accb6963d654d5cd376c9;
177  
178     // Push the new frame as the currently active one.
179     pushFrameStack( frame_0034a2193f1accb6963d654d5cd376c9 );
180  
181     // Mark the frame object as in use, ref count 1 will be up for reuse.
182     assert( Py_REFCNT( frame_0034a2193f1accb6963d654d5cd376c9 ) == 2 ); // Frame stack
183  
184     // Framed code:
185     {
186         PyObject *tmp_called_name_1;
187         PyObject *tmp_mvar_value_1;
188         PyObject *tmp_call_result_1;
189         tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict___main__, (Nuitka_StringObject *)const_str_plain_python_func );
190  
191         if (unlikely( tmp_mvar_value_1 == NULL ))
192         {
193             tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_python_func );
194         }
195  
196         if ( tmp_mvar_value_1 == NULL )
197         {
198  
199             exception_type = PyExc_NameError;
200             Py_INCREF( exception_type );
201             exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "python_func" );
202             exception_tb = NULL;
203             NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
204             CHAIN_EXCEPTION( exception_value );
205  
206             exception_lineno = 31;
207  
208             goto frame_exception_exit_1;
209         }
210  
211         tmp_called_name_1 = tmp_mvar_value_1;
212         frame_0034a2193f1accb6963d654d5cd376c9->m_frame.f_lineno = 31;
213         tmp_call_result_1 = CALL_FUNCTION_WITH_ARGS6( tmp_called_name_1, &PyTuple_GET_ITEM( const_tuple_78e2f1ad354bdb7db1a0fda186168ee0_tuple, 0 ) );
214  
215         if ( tmp_call_result_1 == NULL )
216         {
217             assert( ERROR_OCCURRED() );
218  
219             FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
220  
221  
222             exception_lineno = 31;
223  
224             goto frame_exception_exit_1;
225         }
226         Py_DECREF( tmp_call_result_1 );
227     }
228     {
229         PyObject *tmp_called_name_2;
230         PyObject *tmp_mvar_value_2;
231         PyObject *tmp_call_result_2;
232         tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict___main__, (Nuitka_StringObject *)const_str_plain_python_func );
233  
234         if (unlikely( tmp_mvar_value_2 == NULL ))
235         {
236             tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_python_func );
237         }
238  
239         if ( tmp_mvar_value_2 == NULL )
240         {
241  
242             exception_type = PyExc_NameError;
243             Py_INCREF( exception_type );
244             exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "python_func" );
245             exception_tb = NULL;
246             NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
247             CHAIN_EXCEPTION( exception_value );
248  
249             exception_lineno = 32;
250  
251             goto frame_exception_exit_1;
252         }
253  
254         tmp_called_name_2 = tmp_mvar_value_2;
255         frame_0034a2193f1accb6963d654d5cd376c9->m_frame.f_lineno = 32;
256         tmp_call_result_2 = CALL_FUNCTION_WITH_ARGS6( tmp_called_name_2, &PyTuple_GET_ITEM( const_tuple_ca2f155a28955fc472d4376e2721d689_tuple, 0 ) );
257  
258         if ( tmp_call_result_2 == NULL )
259         {
260             assert( ERROR_OCCURRED() );
261  
262             FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
263  
264  
265             exception_lineno = 32;
266  
267             goto frame_exception_exit_1;
268         }
269         Py_DECREF( tmp_call_result_2 );
270     }
271     {
272         PyObject *tmp_called_name_3;
273         PyObject *tmp_mvar_value_3;
274         PyObject *tmp_call_result_3;
275         tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict___main__, (Nuitka_StringObject *)const_str_plain_python_func );
276  
277         if (unlikely( tmp_mvar_value_3 == NULL ))
278         {
279             tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_python_func );
280         }
281  
282         if ( tmp_mvar_value_3 == NULL )
283         {
284  
285             exception_type = PyExc_NameError;
286             Py_INCREF( exception_type );
287             exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "python_func" );
288             exception_tb = NULL;
289             NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
290             CHAIN_EXCEPTION( exception_value );
291  
292             exception_lineno = 33;
293  
294             goto frame_exception_exit_1;
295         }
296  
297         tmp_called_name_3 = tmp_mvar_value_3;
298         frame_0034a2193f1accb6963d654d5cd376c9->m_frame.f_lineno = 33;
299         tmp_call_result_3 = CALL_FUNCTION_WITH_ARGS6( tmp_called_name_3, &PyTuple_GET_ITEM( const_tuple_4cee4124c8df2995a8a82b981e580f5e_tuple, 0 ) );
300  
301         if ( tmp_call_result_3 == NULL )
302         {
303             assert( ERROR_OCCURRED() );
304  
305             FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
306  
307  
308             exception_lineno = 33;
309  
310             goto frame_exception_exit_1;
311         }
312         Py_DECREF( tmp_call_result_3 );
313     }
314  
315 #if 0
316     RESTORE_FRAME_EXCEPTION( frame_0034a2193f1accb6963d654d5cd376c9 );
317 #endif
318  
319     // Put the previous frame back on top.
320     popFrameStack();
321  
322     goto frame_no_exception_1;
323  
324     frame_exception_exit_1:;
325  
326 #if 0
327     RESTORE_FRAME_EXCEPTION( frame_0034a2193f1accb6963d654d5cd376c9 );
328 #endif
329  
330     if ( exception_tb == NULL )
331     {
332         exception_tb = MAKE_TRACEBACK( frame_0034a2193f1accb6963d654d5cd376c9, exception_lineno );
333     }
334     else if ( exception_tb->tb_frame != &frame_0034a2193f1accb6963d654d5cd376c9->m_frame )
335     {
336         exception_tb = ADD_TRACEBACK( exception_tb, frame_0034a2193f1accb6963d654d5cd376c9, exception_lineno );
337     }
338  
339     // Attachs locals to frame if any.
340     Nuitka_Frame_AttachLocals(
341         (struct Nuitka_FrameObject *)frame_0034a2193f1accb6963d654d5cd376c9,
342         type_description_1
343     );
344  
345  
346     // Release cached frame.
347     if ( frame_0034a2193f1accb6963d654d5cd376c9 == cache_frame_0034a2193f1accb6963d654d5cd376c9 )
348     {
349         Py_DECREF( frame_0034a2193f1accb6963d654d5cd376c9 );
350     }
351     cache_frame_0034a2193f1accb6963d654d5cd376c9 = NULL;
352  
353     assertFrameObject( frame_0034a2193f1accb6963d654d5cd376c9 );
354  
355     // Put the previous frame back on top.
356     popFrameStack();
357  
358     // Return the error.
359     goto function_exception_exit;
360  
361     frame_no_exception_1:;
362     tmp_return_value = Py_None; 126     tmp_return_value = Py_None;
363     Py_INCREF( tmp_return_value ); 127     Py_INCREF( tmp_return_value );
364     goto function_return_exit; 128     goto function_return_exit;
365 129
366     // Return statement must have exited already. 130     // Return statement must have exited already.
367     NUITKA_CANNOT_GET_HERE( __main__$$$function_1_calledRepeatedly ); 131     NUITKA_CANNOT_GET_HERE( __main__$$$function_1_calledRepeatedly );
368     return NULL; 132     return NULL;
369 133
n 370 function_exception_exit: n
371     assert( exception_type );
372     RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
373  
374     return NULL;
375 134
376 function_return_exit: 135 function_return_exit:
377    // Function cleanup code if any. 136    // Function cleanup code if any.
378 137
379 138
392         impl___main__$$$function_1_calledRepeatedly, 151         impl___main__$$$function_1_calledRepeatedly,
393         const_str_plain_calledRepeatedly, 152         const_str_plain_calledRepeatedly,
394 #if PYTHON_VERSION >= 300 153 #if PYTHON_VERSION >= 300
395         NULL, 154         NULL,
396 #endif 155 #endif
t 397         codeobj_0034a2193f1accb6963d654d5cd376c9, t 156         codeobj_2c662f8512cd37f26ba736c7b2a12a69,
398         NULL, 157         NULL,
399 #if PYTHON_VERSION >= 300 158 #if PYTHON_VERSION >= 300
400         NULL, 159         NULL,
401         NULL, 160         NULL,
402 #endif 161 #endif