Construct CallCompiledFunctionPosArgsConstant

Performance Diagrams

Construct CallCompiledFunctionPosArgsConstant 002000000020000000400000004000000060000000600000008000000080000000100000000100000000120000000120000000140000000140000000160000000160000000180000000180000000200000000200000000220000000220000000CPython 2.7Nuitka (master)Nuitka (develop)Nuitka (factory)23743576788.11538461538461257.0CPython 2.761855064240.03846153846155439.738656020955Nuitka (master)61854943391.96153846153845439.73878195379956Nuitka (develop)61855113543.8846153846154439.7386050233568Nuitka (factory)Construct CallCompiledFunctionPosArgsConstantTicks Construct CallCompiledFunctionPosArgsConstant 002000000020000000400000004000000060000000600000008000000080000000100000000100000000120000000120000000140000000140000000160000000160000000180000000180000000200000000200000000220000000220000000CPython 3.5Nuitka (master)Nuitka (develop)Nuitka (factory)22385788388.11538461538461257.0CPython 3.570809377240.03846153846155425.9493348107826Nuitka (master)70808891391.96153846153845425.9498713032899Nuitka (develop)70808138543.8846153846154425.95070253550796Nuitka (factory)Construct CallCompiledFunctionPosArgsConstantTicks

Source Code with Construct

from __future__ import print_function

def compiled_func(a,b,c,d,e,f):
    return a, b, c, d, e, f

def calledRepeatedly():
    # This is supposed to make a call to a non-compiled function, which is
    # being optimized separately.
# construct_begin
    compiled_func("some", "random", "values", "to", "check", "call")
    compiled_func("some", "other", "values", "to", "check", "call")
    compiled_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

def compiled_func(a,b,c,d,e,f):
    return a, b, c, d, e, f

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
24 24
25 def calledRepeatedly(): 25 def calledRepeatedly():
26     # This is supposed to make a call to a non-compiled function, which is 26     # This is supposed to make a call to a non-compiled function, which is
27     # being optimized separately. 27     # being optimized separately.
28 # construct_begin 28 # construct_begin
n 29     compiled_func("some", "random", "values", "to", "check", "call") n
30     compiled_func("some", "other", "values", "to", "check", "call")
31     compiled_func("some", "new", "values", "to", "check", "call")
32 # construct_alternative
33 29
34 30
t t 31  
32 # construct_alternative
33     pass
34 # construct_end
35 35
36 import itertools 36 import itertools
37 for x in itertools.repeat(None, 50000): 37 for x in itertools.repeat(None, 50000):
38     calledRepeatedly() 38     calledRepeatedly()
39 39

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_b; 34 static PyObject *const_str_plain_b;
36 static PyObject *const_str_plain_itertools; 35 static PyObject *const_str_plain_itertools;
37 static PyObject *const_tuple_d4571c3ff966778a8b3ba4a6bd66fdef_tuple; 36 static PyObject *const_tuple_d4571c3ff966778a8b3ba4a6bd66fdef_tuple;
n 38 static PyObject *const_tuple_4cee4124c8df2995a8a82b981e580f5e_tuple; n
39 static PyObject *const_str_plain_f; 37 static PyObject *const_str_plain_f;
n 40 static PyObject *const_str_plain_values; n
41 extern PyObject *const_str_plain___file__; 38 extern PyObject *const_str_plain___file__;
n 42 static PyObject *const_str_plain_other; n
43 extern PyObject *const_int_0; 39 extern PyObject *const_int_0;
n 44 static PyObject *const_str_plain_check; n
45 static PyObject *const_str_plain_compiled_func; 40 static PyObject *const_str_plain_compiled_func;
n n 41 static PyObject *const_str_plain_a;
46 extern PyObject *const_str_plain_print; 42 extern PyObject *const_str_plain_print;
n 47 static PyObject *const_str_plain_a; n
48 static PyObject *const_str_plain_call;
49 static PyObject *const_int_pos_50000; 43 static PyObject *const_int_pos_50000;
50 static PyObject *const_tuple_str_digest_5ed1392909ad16e6227b8230f4582352_tuple; 44 static PyObject *const_tuple_str_digest_5ed1392909ad16e6227b8230f4582352_tuple;
n 51 static PyObject *const_str_plain_random; n
52 static PyObject *const_str_plain_e; 45 static PyObject *const_str_plain_e;
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_None; 48 static PyObject *const_str_plain_None;
56 static PyObject *const_str_plain_x; 49 static PyObject *const_str_plain_x;
57 extern PyObject *const_tuple_empty; 50 extern PyObject *const_tuple_empty;
58 static PyObject *const_str_plain_c; 51 static PyObject *const_str_plain_c;
59 static PyObject *const_str_digest_5ed1392909ad16e6227b8230f4582352; 52 static PyObject *const_str_digest_5ed1392909ad16e6227b8230f4582352;
60 static PyObject *const_str_digest_6db975ca70e265f25f5e5a78a0da8976; 53 static PyObject *const_str_digest_6db975ca70e265f25f5e5a78a0da8976;
n 61 static PyObject *const_str_plain_some; n
62 static PyObject *const_str_plain_repeat; 54 static PyObject *const_str_plain_repeat;
n 63 static PyObject *const_str_plain_new; n
64 static PyObject *const_tuple_none_int_pos_50000_tuple; 55 static PyObject *const_tuple_none_int_pos_50000_tuple;
65 extern PyObject *const_str_plain___main__; 56 extern PyObject *const_str_plain___main__;
n 66 static PyObject *const_tuple_78e2f1ad354bdb7db1a0fda186168ee0_tuple; n
67 static PyObject *const_tuple_ca2f155a28955fc472d4376e2721d689_tuple;
68 static PyObject *const_str_plain_d; 57 static PyObject *const_str_plain_d;
69 extern PyObject *const_str_plain___doc__; 58 extern PyObject *const_str_plain___doc__;
70 extern PyObject *const_str_plain___cached__; 59 extern PyObject *const_str_plain___cached__;
71 static PyObject *const_str_plain_print_function; 60 static PyObject *const_str_plain_print_function;
72 static PyObject *module_filename_obj; 61 static PyObject *module_filename_obj;
75 static bool constants_created = false; 64 static bool constants_created = false;
76 65
77 /* Function to create module private constants. */ 66 /* Function to create module private constants. */
78 static void createModuleConstants( void ) 67 static void createModuleConstants( void )
79 { 68 {
n 80     const_str_plain_to = UNSTREAM_STRING_ASCII( &constant_bin[ 0 ], 2, 1 ); n
81     const_str_plain_b = UNSTREAM_STRING_ASCII( &constant_bin[ 2 ], 1, 1 ); 69     const_str_plain_b = UNSTREAM_STRING_ASCII( &constant_bin[ 0 ], 1, 1 );
82     const_str_plain_itertools = UNSTREAM_STRING_ASCII( &constant_bin[ 3 ], 9, 1 ); 70     const_str_plain_itertools = UNSTREAM_STRING_ASCII( &constant_bin[ 1 ], 9, 1 );
83     const_tuple_d4571c3ff966778a8b3ba4a6bd66fdef_tuple = PyTuple_New( 6 ); 71     const_tuple_d4571c3ff966778a8b3ba4a6bd66fdef_tuple = PyTuple_New( 6 );
n 84     const_str_plain_a = UNSTREAM_STRING_ASCII( &constant_bin[ 12 ], 1, 1 ); n 72     const_str_plain_a = UNSTREAM_STRING_ASCII( &constant_bin[ 10 ], 1, 1 );
85     PyTuple_SET_ITEM( const_tuple_d4571c3ff966778a8b3ba4a6bd66fdef_tuple, 0, const_str_plain_a ); Py_INCREF( const_str_plain_a ); 73     PyTuple_SET_ITEM( const_tuple_d4571c3ff966778a8b3ba4a6bd66fdef_tuple, 0, const_str_plain_a ); Py_INCREF( const_str_plain_a );
86     PyTuple_SET_ITEM( const_tuple_d4571c3ff966778a8b3ba4a6bd66fdef_tuple, 1, const_str_plain_b ); Py_INCREF( const_str_plain_b ); 74     PyTuple_SET_ITEM( const_tuple_d4571c3ff966778a8b3ba4a6bd66fdef_tuple, 1, const_str_plain_b ); Py_INCREF( const_str_plain_b );
n 87     const_str_plain_c = UNSTREAM_STRING_ASCII( &constant_bin[ 13 ], 1, 1 ); n 75     const_str_plain_c = UNSTREAM_STRING_ASCII( &constant_bin[ 11 ], 1, 1 );
88     PyTuple_SET_ITEM( const_tuple_d4571c3ff966778a8b3ba4a6bd66fdef_tuple, 2, const_str_plain_c ); Py_INCREF( const_str_plain_c ); 76     PyTuple_SET_ITEM( const_tuple_d4571c3ff966778a8b3ba4a6bd66fdef_tuple, 2, const_str_plain_c ); Py_INCREF( const_str_plain_c );
n 89     const_str_plain_d = UNSTREAM_STRING_ASCII( &constant_bin[ 14 ], 1, 1 ); n 77     const_str_plain_d = UNSTREAM_STRING_ASCII( &constant_bin[ 12 ], 1, 1 );
90     PyTuple_SET_ITEM( const_tuple_d4571c3ff966778a8b3ba4a6bd66fdef_tuple, 3, const_str_plain_d ); Py_INCREF( const_str_plain_d ); 78     PyTuple_SET_ITEM( const_tuple_d4571c3ff966778a8b3ba4a6bd66fdef_tuple, 3, const_str_plain_d ); Py_INCREF( const_str_plain_d );
n 91     const_str_plain_e = UNSTREAM_STRING_ASCII( &constant_bin[ 5 ], 1, 1 ); n 79     const_str_plain_e = UNSTREAM_STRING_ASCII( &constant_bin[ 3 ], 1, 1 );
92     PyTuple_SET_ITEM( const_tuple_d4571c3ff966778a8b3ba4a6bd66fdef_tuple, 4, const_str_plain_e ); Py_INCREF( const_str_plain_e ); 80     PyTuple_SET_ITEM( const_tuple_d4571c3ff966778a8b3ba4a6bd66fdef_tuple, 4, const_str_plain_e ); Py_INCREF( const_str_plain_e );
n 93     const_str_plain_f = UNSTREAM_STRING_ASCII( &constant_bin[ 15 ], 1, 1 ); n 81     const_str_plain_f = UNSTREAM_STRING_ASCII( &constant_bin[ 13 ], 1, 1 );
94     PyTuple_SET_ITEM( const_tuple_d4571c3ff966778a8b3ba4a6bd66fdef_tuple, 5, const_str_plain_f ); Py_INCREF( const_str_plain_f ); 82     PyTuple_SET_ITEM( const_tuple_d4571c3ff966778a8b3ba4a6bd66fdef_tuple, 5, const_str_plain_f ); Py_INCREF( const_str_plain_f );
n 95     const_tuple_4cee4124c8df2995a8a82b981e580f5e_tuple = PyTuple_New( 6 ); n
96     const_str_plain_some = UNSTREAM_STRING_ASCII( &constant_bin[ 16 ], 4, 1 );
97     PyTuple_SET_ITEM( const_tuple_4cee4124c8df2995a8a82b981e580f5e_tuple, 0, const_str_plain_some ); Py_INCREF( const_str_plain_some );
98     const_str_plain_new = UNSTREAM_STRING_ASCII( &constant_bin[ 20 ], 3, 1 );
99     PyTuple_SET_ITEM( const_tuple_4cee4124c8df2995a8a82b981e580f5e_tuple, 1, const_str_plain_new ); Py_INCREF( const_str_plain_new );
100     const_str_plain_values = UNSTREAM_STRING_ASCII( &constant_bin[ 23 ], 6, 1 );
101     PyTuple_SET_ITEM( const_tuple_4cee4124c8df2995a8a82b981e580f5e_tuple, 2, const_str_plain_values ); Py_INCREF( const_str_plain_values );
102     PyTuple_SET_ITEM( const_tuple_4cee4124c8df2995a8a82b981e580f5e_tuple, 3, const_str_plain_to ); Py_INCREF( const_str_plain_to );
103     const_str_plain_check = UNSTREAM_STRING_ASCII( &constant_bin[ 29 ], 5, 1 );
104     PyTuple_SET_ITEM( const_tuple_4cee4124c8df2995a8a82b981e580f5e_tuple, 4, const_str_plain_check ); Py_INCREF( const_str_plain_check );
105     const_str_plain_call = UNSTREAM_STRING_ASCII( &constant_bin[ 34 ], 4, 1 );
106     PyTuple_SET_ITEM( const_tuple_4cee4124c8df2995a8a82b981e580f5e_tuple, 5, const_str_plain_call ); Py_INCREF( const_str_plain_call );
107     const_str_plain_other = UNSTREAM_STRING_ASCII( &constant_bin[ 38 ], 5, 1 );
108     const_str_plain_compiled_func = UNSTREAM_STRING_ASCII( &constant_bin[ 43 ], 13, 1 ); 83     const_str_plain_compiled_func = UNSTREAM_STRING_ASCII( &constant_bin[ 14 ], 13, 1 );
109     const_int_pos_50000 = PyLong_FromUnsignedLong( 50000ul ); 84     const_int_pos_50000 = PyLong_FromUnsignedLong( 50000ul );
110     const_tuple_str_digest_5ed1392909ad16e6227b8230f4582352_tuple = PyTuple_New( 1 ); 85     const_tuple_str_digest_5ed1392909ad16e6227b8230f4582352_tuple = PyTuple_New( 1 );
n 111     const_str_digest_5ed1392909ad16e6227b8230f4582352 = UNSTREAM_STRING_ASCII( &constant_bin[ 56 ], 3, 0 ); n 86     const_str_digest_5ed1392909ad16e6227b8230f4582352 = UNSTREAM_STRING_ASCII( &constant_bin[ 27 ], 3, 0 );
112     PyTuple_SET_ITEM( const_tuple_str_digest_5ed1392909ad16e6227b8230f4582352_tuple, 0, const_str_digest_5ed1392909ad16e6227b8230f4582352 ); Py_INCREF( const_str_digest_5ed1392909ad16e6227b8230f4582352 ); 87     PyTuple_SET_ITEM( const_tuple_str_digest_5ed1392909ad16e6227b8230f4582352_tuple, 0, const_str_digest_5ed1392909ad16e6227b8230f4582352 ); Py_INCREF( const_str_digest_5ed1392909ad16e6227b8230f4582352 );
n 113     const_str_plain_random = UNSTREAM_STRING_ASCII( &constant_bin[ 59 ], 6, 1 ); n
114     const_str_plain_calledRepeatedly = UNSTREAM_STRING_ASCII( &constant_bin[ 65 ], 16, 1 ); 88     const_str_plain_calledRepeatedly = UNSTREAM_STRING_ASCII( &constant_bin[ 30 ], 16, 1 );
115     const_str_angle_module = UNSTREAM_STRING_ASCII( &constant_bin[ 81 ], 8, 0 ); 89     const_str_angle_module = UNSTREAM_STRING_ASCII( &constant_bin[ 46 ], 8, 0 );
116     const_str_plain_None = UNSTREAM_STRING_ASCII( &constant_bin[ 89 ], 4, 1 ); 90     const_str_plain_None = UNSTREAM_STRING_ASCII( &constant_bin[ 54 ], 4, 1 );
117     const_str_plain_x = UNSTREAM_STRING_ASCII( &constant_bin[ 93 ], 1, 1 ); 91     const_str_plain_x = UNSTREAM_STRING_ASCII( &constant_bin[ 58 ], 1, 1 );
118     const_str_digest_6db975ca70e265f25f5e5a78a0da8976 = UNSTREAM_STRING_ASCII( &constant_bin[ 94 ], 86, 0 ); 92     const_str_digest_6db975ca70e265f25f5e5a78a0da8976 = UNSTREAM_STRING_ASCII( &constant_bin[ 59 ], 86, 0 );
119     const_str_plain_repeat = UNSTREAM_STRING_ASCII( &constant_bin[ 180 ], 6, 1 ); 93     const_str_plain_repeat = UNSTREAM_STRING_ASCII( &constant_bin[ 145 ], 6, 1 );
120     const_tuple_none_int_pos_50000_tuple = PyTuple_New( 2 ); 94     const_tuple_none_int_pos_50000_tuple = PyTuple_New( 2 );
121     PyTuple_SET_ITEM( const_tuple_none_int_pos_50000_tuple, 0, Py_None ); Py_INCREF( Py_None ); 95     PyTuple_SET_ITEM( const_tuple_none_int_pos_50000_tuple, 0, Py_None ); Py_INCREF( Py_None );
122     PyTuple_SET_ITEM( const_tuple_none_int_pos_50000_tuple, 1, const_int_pos_50000 ); Py_INCREF( const_int_pos_50000 ); 96     PyTuple_SET_ITEM( const_tuple_none_int_pos_50000_tuple, 1, const_int_pos_50000 ); Py_INCREF( const_int_pos_50000 );
n 123     const_tuple_78e2f1ad354bdb7db1a0fda186168ee0_tuple = PyTuple_New( 6 ); n
124     PyTuple_SET_ITEM( const_tuple_78e2f1ad354bdb7db1a0fda186168ee0_tuple, 0, const_str_plain_some ); Py_INCREF( const_str_plain_some );
125     PyTuple_SET_ITEM( const_tuple_78e2f1ad354bdb7db1a0fda186168ee0_tuple, 1, const_str_plain_random ); Py_INCREF( const_str_plain_random );
126     PyTuple_SET_ITEM( const_tuple_78e2f1ad354bdb7db1a0fda186168ee0_tuple, 2, const_str_plain_values ); Py_INCREF( const_str_plain_values );
127     PyTuple_SET_ITEM( const_tuple_78e2f1ad354bdb7db1a0fda186168ee0_tuple, 3, const_str_plain_to ); Py_INCREF( const_str_plain_to );
128     PyTuple_SET_ITEM( const_tuple_78e2f1ad354bdb7db1a0fda186168ee0_tuple, 4, const_str_plain_check ); Py_INCREF( const_str_plain_check );
129     PyTuple_SET_ITEM( const_tuple_78e2f1ad354bdb7db1a0fda186168ee0_tuple, 5, const_str_plain_call ); Py_INCREF( const_str_plain_call );
130     const_tuple_ca2f155a28955fc472d4376e2721d689_tuple = PyTuple_New( 6 );
131     PyTuple_SET_ITEM( const_tuple_ca2f155a28955fc472d4376e2721d689_tuple, 0, const_str_plain_some ); Py_INCREF( const_str_plain_some );
132     PyTuple_SET_ITEM( const_tuple_ca2f155a28955fc472d4376e2721d689_tuple, 1, const_str_plain_other ); Py_INCREF( const_str_plain_other );
133     PyTuple_SET_ITEM( const_tuple_ca2f155a28955fc472d4376e2721d689_tuple, 2, const_str_plain_values ); Py_INCREF( const_str_plain_values );
134     PyTuple_SET_ITEM( const_tuple_ca2f155a28955fc472d4376e2721d689_tuple, 3, const_str_plain_to ); Py_INCREF( const_str_plain_to );
135     PyTuple_SET_ITEM( const_tuple_ca2f155a28955fc472d4376e2721d689_tuple, 4, const_str_plain_check ); Py_INCREF( const_str_plain_check );
136     PyTuple_SET_ITEM( const_tuple_ca2f155a28955fc472d4376e2721d689_tuple, 5, const_str_plain_call ); Py_INCREF( const_str_plain_call );
137     const_str_plain_print_function = UNSTREAM_STRING_ASCII( &constant_bin[ 186 ], 14, 1 ); 97     const_str_plain_print_function = UNSTREAM_STRING_ASCII( &constant_bin[ 151 ], 14, 1 );
138 98
139     constants_created = true; 99     constants_created = true;
140 } 100 }
141 101
142 /* Function to verify module private constants for non-corruption. */ 102 /* Function to verify module private constants for non-corruption. */
150 } 110 }
151 #endif 111 #endif
152 112
153 // The module code objects. 113 // The module code objects.
154 static PyCodeObject *codeobj_dde80c111361846d252c9a6c8b0384ef; 114 static PyCodeObject *codeobj_dde80c111361846d252c9a6c8b0384ef;
n 155 static PyCodeObject *codeobj_ce90c589a03240e39b310e3f616d02ce; n 115 static PyCodeObject *codeobj_4fddea343064fe3ae9889d32fd0c3f56;
156 static PyCodeObject *codeobj_aa522550f86bab3dff6f84ffafdf17f0; 116 static PyCodeObject *codeobj_aa522550f86bab3dff6f84ffafdf17f0;
157 /* For use in "MainProgram.c". */ 117 /* For use in "MainProgram.c". */
158 PyCodeObject *codeobj_main = NULL; 118 PyCodeObject *codeobj_main = NULL;
159 119
160 static void createModuleCodeObjects(void) 120 static void createModuleCodeObjects(void)
161 { 121 {
162     module_filename_obj = const_str_digest_6db975ca70e265f25f5e5a78a0da8976; 122     module_filename_obj = const_str_digest_6db975ca70e265f25f5e5a78a0da8976;
163     codeobj_dde80c111361846d252c9a6c8b0384ef = MAKE_CODEOBJ( module_filename_obj, const_str_angle_module, 1, const_tuple_empty, 0, 0, CO_NOFREE ); 123     codeobj_dde80c111361846d252c9a6c8b0384ef = MAKE_CODEOBJ( module_filename_obj, const_str_angle_module, 1, const_tuple_empty, 0, 0, CO_NOFREE );
n 164     codeobj_ce90c589a03240e39b310e3f616d02ce = MAKE_CODEOBJ( module_filename_obj, const_str_plain_calledRepeatedly, 25, const_tuple_empty, 0, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); n 124     codeobj_4fddea343064fe3ae9889d32fd0c3f56 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_calledRepeatedly, 25, const_tuple_empty, 0, 0, CO_NOFREE );
165     codeobj_aa522550f86bab3dff6f84ffafdf17f0 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_compiled_func, 22, const_tuple_d4571c3ff966778a8b3ba4a6bd66fdef_tuple, 6, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); 125     codeobj_aa522550f86bab3dff6f84ffafdf17f0 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_compiled_func, 22, const_tuple_d4571c3ff966778a8b3ba4a6bd66fdef_tuple, 6, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
166 } 126 }
167 127
168 // The module function declarations. 128 // The module function declarations.
169 static PyObject *MAKE_FUNCTION___main__$$$function_1_compiled_func(  ); 129 static PyObject *MAKE_FUNCTION___main__$$$function_1_compiled_func(  );
275 #ifndef __NUITKA_NO_ASSERT__ 235 #ifndef __NUITKA_NO_ASSERT__
276     NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); 236     NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
277 #endif 237 #endif
278 238
279     // Local variable declarations. 239     // Local variable declarations.
n 280     struct Nuitka_FrameObject *frame_ce90c589a03240e39b310e3f616d02ce; n
281     NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
282     PyObject *exception_type = NULL;
283     PyObject *exception_value = NULL;
284     PyTracebackObject *exception_tb = NULL;
285     NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
286     static struct Nuitka_FrameObject *cache_frame_ce90c589a03240e39b310e3f616d02ce = NULL;
287     PyObject *tmp_return_value = NULL; 240     PyObject *tmp_return_value = NULL;
288 241
289     // Actual function body. 242     // Actual function body.
n 290     MAKE_OR_REUSE_FRAME( cache_frame_ce90c589a03240e39b310e3f616d02ce, codeobj_ce90c589a03240e39b310e3f616d02ce, module___main__, 0 ); n
291     frame_ce90c589a03240e39b310e3f616d02ce = cache_frame_ce90c589a03240e39b310e3f616d02ce;
292  
293     // Push the new frame as the currently active one.
294     pushFrameStack( frame_ce90c589a03240e39b310e3f616d02ce );
295  
296     // Mark the frame object as in use, ref count 1 will be up for reuse.
297     assert( Py_REFCNT( frame_ce90c589a03240e39b310e3f616d02ce ) == 2 ); // Frame stack
298  
299     // Framed code:
300     {
301         PyObject *tmp_called_name_1;
302         PyObject *tmp_mvar_value_1;
303         PyObject *tmp_call_result_1;
304         tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict___main__, (Nuitka_StringObject *)const_str_plain_compiled_func );
305  
306         if (unlikely( tmp_mvar_value_1 == NULL ))
307         {
308             tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_compiled_func );
309         }
310  
311         if ( tmp_mvar_value_1 == NULL )
312         {
313  
314             exception_type = PyExc_NameError;
315             Py_INCREF( exception_type );
316             exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "compiled_func" );
317             exception_tb = NULL;
318             NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
319             CHAIN_EXCEPTION( exception_value );
320  
321             exception_lineno = 29;
322  
323             goto frame_exception_exit_1;
324         }
325  
326         tmp_called_name_1 = tmp_mvar_value_1;
327         frame_ce90c589a03240e39b310e3f616d02ce->m_frame.f_lineno = 29;
328         tmp_call_result_1 = CALL_FUNCTION_WITH_ARGS6( tmp_called_name_1, &PyTuple_GET_ITEM( const_tuple_78e2f1ad354bdb7db1a0fda186168ee0_tuple, 0 ) );
329  
330         if ( tmp_call_result_1 == NULL )
331         {
332             assert( ERROR_OCCURRED() );
333  
334             FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
335  
336  
337             exception_lineno = 29;
338  
339             goto frame_exception_exit_1;
340         }
341         Py_DECREF( tmp_call_result_1 );
342     }
343     {
344         PyObject *tmp_called_name_2;
345         PyObject *tmp_mvar_value_2;
346         PyObject *tmp_call_result_2;
347         tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict___main__, (Nuitka_StringObject *)const_str_plain_compiled_func );
348  
349         if (unlikely( tmp_mvar_value_2 == NULL ))
350         {
351             tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_compiled_func );
352         }
353  
354         if ( tmp_mvar_value_2 == NULL )
355         {
356  
357             exception_type = PyExc_NameError;
358             Py_INCREF( exception_type );
359             exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "compiled_func" );
360             exception_tb = NULL;
361             NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
362             CHAIN_EXCEPTION( exception_value );
363  
364             exception_lineno = 30;
365  
366             goto frame_exception_exit_1;
367         }
368  
369         tmp_called_name_2 = tmp_mvar_value_2;
370         frame_ce90c589a03240e39b310e3f616d02ce->m_frame.f_lineno = 30;
371         tmp_call_result_2 = CALL_FUNCTION_WITH_ARGS6( tmp_called_name_2, &PyTuple_GET_ITEM( const_tuple_ca2f155a28955fc472d4376e2721d689_tuple, 0 ) );
372  
373         if ( tmp_call_result_2 == NULL )
374         {
375             assert( ERROR_OCCURRED() );
376  
377             FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
378  
379  
380             exception_lineno = 30;
381  
382             goto frame_exception_exit_1;
383         }
384         Py_DECREF( tmp_call_result_2 );
385     }
386     {
387         PyObject *tmp_called_name_3;
388         PyObject *tmp_mvar_value_3;
389         PyObject *tmp_call_result_3;
390         tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict___main__, (Nuitka_StringObject *)const_str_plain_compiled_func );
391  
392         if (unlikely( tmp_mvar_value_3 == NULL ))
393         {
394             tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_compiled_func );
395         }
396  
397         if ( tmp_mvar_value_3 == NULL )
398         {
399  
400             exception_type = PyExc_NameError;
401             Py_INCREF( exception_type );
402             exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "compiled_func" );
403             exception_tb = NULL;
404             NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
405             CHAIN_EXCEPTION( exception_value );
406  
407             exception_lineno = 31;
408  
409             goto frame_exception_exit_1;
410         }
411  
412         tmp_called_name_3 = tmp_mvar_value_3;
413         frame_ce90c589a03240e39b310e3f616d02ce->m_frame.f_lineno = 31;
414         tmp_call_result_3 = CALL_FUNCTION_WITH_ARGS6( tmp_called_name_3, &PyTuple_GET_ITEM( const_tuple_4cee4124c8df2995a8a82b981e580f5e_tuple, 0 ) );
415  
416         if ( tmp_call_result_3 == NULL )
417         {
418             assert( ERROR_OCCURRED() );
419  
420             FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
421  
422  
423             exception_lineno = 31;
424  
425             goto frame_exception_exit_1;
426         }
427         Py_DECREF( tmp_call_result_3 );
428     }
429  
430 #if 0
431     RESTORE_FRAME_EXCEPTION( frame_ce90c589a03240e39b310e3f616d02ce );
432 #endif
433  
434     // Put the previous frame back on top.
435     popFrameStack();
436  
437     goto frame_no_exception_1;
438  
439     frame_exception_exit_1:;
440  
441 #if 0
442     RESTORE_FRAME_EXCEPTION( frame_ce90c589a03240e39b310e3f616d02ce );
443 #endif
444  
445     if ( exception_tb == NULL )
446     {
447         exception_tb = MAKE_TRACEBACK( frame_ce90c589a03240e39b310e3f616d02ce, exception_lineno );
448     }
449     else if ( exception_tb->tb_frame != &frame_ce90c589a03240e39b310e3f616d02ce->m_frame )
450     {
451         exception_tb = ADD_TRACEBACK( exception_tb, frame_ce90c589a03240e39b310e3f616d02ce, exception_lineno );
452     }
453  
454     // Attachs locals to frame if any.
455     Nuitka_Frame_AttachLocals(
456         (struct Nuitka_FrameObject *)frame_ce90c589a03240e39b310e3f616d02ce,
457         type_description_1
458     );
459  
460  
461     // Release cached frame.
462     if ( frame_ce90c589a03240e39b310e3f616d02ce == cache_frame_ce90c589a03240e39b310e3f616d02ce )
463     {
464         Py_DECREF( frame_ce90c589a03240e39b310e3f616d02ce );
465     }
466     cache_frame_ce90c589a03240e39b310e3f616d02ce = NULL;
467  
468     assertFrameObject( frame_ce90c589a03240e39b310e3f616d02ce );
469  
470     // Put the previous frame back on top.
471     popFrameStack();
472  
473     // Return the error.
474     goto function_exception_exit;
475  
476     frame_no_exception_1:;
477     tmp_return_value = Py_None; 243     tmp_return_value = Py_None;
478     Py_INCREF( tmp_return_value ); 244     Py_INCREF( tmp_return_value );
479     goto function_return_exit; 245     goto function_return_exit;
480 246
481     // Return statement must have exited already. 247     // Return statement must have exited already.
482     NUITKA_CANNOT_GET_HERE( __main__$$$function_2_calledRepeatedly ); 248     NUITKA_CANNOT_GET_HERE( __main__$$$function_2_calledRepeatedly );
483     return NULL; 249     return NULL;
484 250
n 485 function_exception_exit: n
486     assert( exception_type );
487     RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
488  
489     return NULL;
490 251
491 function_return_exit: 252 function_return_exit:
492    // Function cleanup code if any. 253    // Function cleanup code if any.
493 254
494 255
531         impl___main__$$$function_2_calledRepeatedly, 292         impl___main__$$$function_2_calledRepeatedly,
532         const_str_plain_calledRepeatedly, 293         const_str_plain_calledRepeatedly,
533 #if PYTHON_VERSION >= 300 294 #if PYTHON_VERSION >= 300
534         NULL, 295         NULL,
535 #endif 296 #endif
t 536         codeobj_ce90c589a03240e39b310e3f616d02ce, t 297         codeobj_4fddea343064fe3ae9889d32fd0c3f56,
537         NULL, 298         NULL,
538 #if PYTHON_VERSION >= 300 299 #if PYTHON_VERSION >= 300
539         NULL, 300         NULL,
540         NULL, 301         NULL,
541 #endif 302 #endif