We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f497c3 commit ad78398Copy full SHA for ad78398
1 file changed
Python/optimizer.c
@@ -185,12 +185,14 @@ _PyOptimizer_Optimize(
185
else {
186
executor->vm_data.code = NULL;
187
}
188
+ executor->vm_data.chain_depth = chain_depth;
189
+ assert(executor->vm_data.valid);
190
_PyExitData *exit = _tstate->jit_tracer_state.initial_state.exit;
191
if (exit != NULL) {
192
exit->executor = executor;
193
+ } else {
194
+ Py_DECREF(executor);
195
- executor->vm_data.chain_depth = chain_depth;
- assert(executor->vm_data.valid);
196
interp->compiling = false;
197
return 1;
198
#else
0 commit comments