Construct CallUncompiledFunctionPosArgs

Performance Diagrams

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