Skip to content

Commit 73832b2

Browse files
committed
Tidy up
1 parent 911520a commit 73832b2

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

Python/bytecodes.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2964,7 +2964,7 @@ dummy_func(
29642964
else {
29652965
this_instr[1].counter = initial_jump_backoff_counter();
29662966
assert(tstate->current_executor == NULL);
2967-
tstate->jit_exit = NULL;
2967+
assert(executor != tstate->interp->cold_executor);
29682968
GOTO_TIER_TWO(executor);
29692969
}
29702970
}
@@ -3029,7 +3029,7 @@ dummy_func(
30293029
}
30303030
DISPATCH_GOTO();
30313031
}
3032-
tstate->jit_exit = NULL;
3032+
assert(executor != tstate->interp->cold_executor);
30333033
GOTO_TIER_TWO(executor);
30343034
#else
30353035
Py_FatalError("ENTER_EXECUTOR is not supported in this build");
@@ -5238,7 +5238,7 @@ dummy_func(
52385238
#endif
52395239
}
52405240

5241-
tier2 op(_EXIT_TRACE, (exit_p/4 -- )) {
5241+
tier2 op(_EXIT_TRACE, (exit_p/4 --)) {
52425242
_PyExitData *exit = (_PyExitData *)exit_p;
52435243
#if defined(Py_DEBUG) && !defined(_Py_JIT)
52445244
_Py_CODEUNIT *target = _PyFrame_GetBytecode(frame) + exit->target;

Python/generated_cases.c.h

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

Python/optimizer_bytecodes.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1031,7 +1031,7 @@ dummy_func(void) {
10311031
ctx->done = true;
10321032
}
10331033

1034-
op(_EXIT_TRACE, (exit_p/4 -- )) {
1034+
op(_EXIT_TRACE, (exit_p/4 --)) {
10351035
(void)exit_p;
10361036
ctx->done = true;
10371037
}

0 commit comments

Comments
 (0)