Skip to content

Commit ae1d6fe

Browse files
Restore a test, address review
1 parent f7c26d4 commit ae1d6fe

File tree

3 files changed

+0
-6
lines changed

3 files changed

+0
-6
lines changed

Include/internal/pycore_interp_structs.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -755,7 +755,6 @@ struct _Py_unique_id_pool {
755755

756756
typedef _Py_CODEUNIT *(*_PyJitEntryFuncPtr)(struct _PyExecutorObject *exec, _PyInterpreterFrame *frame, _PyStackRef *stack_pointer, PyThreadState *tstate);
757757

758-
759758
/* PyInterpreterState holds the global state for one of the runtime's
760759
interpreters. Typically the initial (main) interpreter is the only one.
761760

Lib/test/test_capi/test_opt.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,6 @@ def testfunc(x):
139139
self.assertIn("_JUMP_TO_TOP", uops)
140140
self.assertIn("_LOAD_FAST_BORROW_0", uops)
141141

142-
@unittest.skip("gh-139109 WIP")
143142
def test_extended_arg(self):
144143
"Check EXTENDED_ARG handling in superblock creation"
145144
ns = {}

Python/optimizer.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,10 +125,6 @@ _PyOptimizer_Optimize(
125125
assert(!interp->compiling);
126126
assert(_tstate->jit_tracer_state.initial_state.stack_depth >= 0);
127127
#ifndef Py_GIL_DISABLED
128-
// Trace got stomped on by another thread.
129-
if (_tstate->jit_tracer_state.initial_state.func == NULL) {
130-
return 0;
131-
}
132128
assert(_tstate->jit_tracer_state.initial_state.func != NULL);
133129
interp->compiling = true;
134130
// The first executor in a chain and the MAX_CHAIN_DEPTH'th executor *must*

0 commit comments

Comments
 (0)