Skip to content

Commit c5104b8

Browse files
committed
Clean up the diff
1 parent cf3613c commit c5104b8

File tree

7 files changed

+0
-42
lines changed

7 files changed

+0
-42
lines changed

Include/cpython/pystate.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -206,10 +206,6 @@ struct _ts {
206206
*/
207207
PyObject *threading_local_sentinel;
208208
_PyRemoteDebuggerSupport remote_debugger_support;
209-
210-
// Any frame between the topmost frame where the JIT is currently active,
211-
// and the interpreter entry frame below it (used by sys._jit.is_active):
212-
struct _PyInterpreterFrame *jit_entry;
213209
};
214210

215211
/* other API */

Python/bytecodes.c

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1202,9 +1202,6 @@ dummy_func(
12021202
LOAD_IP(frame->return_offset);
12031203
res = temp;
12041204
LLTRACE_RESUME_FRAME();
1205-
#if TIER_TWO
1206-
tstate->jit_entry = frame;
1207-
#endif
12081205
}
12091206

12101207
tier1 op(_RETURN_VALUE_EVENT, (val -- val)) {
@@ -1391,9 +1388,6 @@ dummy_func(
13911388
LOAD_IP(1 + INLINE_CACHE_ENTRIES_SEND);
13921389
value = PyStackRef_MakeHeapSafe(temp);
13931390
LLTRACE_RESUME_FRAME();
1394-
#if TIER_TWO
1395-
tstate->jit_entry = frame;
1396-
#endif
13971391
}
13981392

13991393
tier1 op(_YIELD_VALUE_EVENT, (val -- val)) {
@@ -4983,9 +4977,6 @@ dummy_func(
49834977
RELOAD_STACK();
49844978
res = PyStackRef_FromPyObjectStealMortal((PyObject *)gen);
49854979
LLTRACE_RESUME_FRAME();
4986-
#if TIER_TWO
4987-
tstate->jit_entry = frame;
4988-
#endif
49894980
}
49904981

49914982
inst(BUILD_SLICE, (args[oparg] -- slice)) {

Python/ceval.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1096,7 +1096,6 @@ _PyEval_EvalFrameDefault(PyThreadState *tstate, _PyInterpreterFrame *frame, int
10961096
/* Tier 2 interpreter state */
10971097
_PyExecutorObject *current_executor = NULL;
10981098
const _PyUOpInstruction *next_uop = NULL;
1099-
_PyInterpreterFrame *jit_entry;
11001099
#endif
11011100
#if Py_TAIL_CALL_INTERP
11021101
# if Py_STATS

Python/ceval_macros.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -381,8 +381,6 @@ do { \
381381
tstate->current_executor = (PyObject *)_executor; \
382382
next_uop = _executor->trace; \
383383
assert(next_uop->opcode == _START_EXECUTOR); \
384-
jit_entry = tstate->jit_entry; \
385-
tstate->jit_entry = frame; \
386384
goto enter_tier_two; \
387385
} while (0)
388386
#endif

Python/executor_cases.c.h

Lines changed: 0 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Python/generated_cases.c.h

Lines changed: 0 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Python/pystate.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1588,8 +1588,6 @@ init_threadstate(_PyThreadStateImpl *_tstate,
15881588

15891589
tstate->delete_later = NULL;
15901590

1591-
tstate->jit_entry = NULL;
1592-
15931591
llist_init(&_tstate->mem_free_queue);
15941592
llist_init(&_tstate->asyncio_tasks_head);
15951593
if (interp->stoptheworld.requested || _PyRuntime.stoptheworld.requested) {

0 commit comments

Comments
 (0)