Skip to content

Commit 6ba4e59

Browse files
8 -> 16
1 parent e062681 commit 6ba4e59

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Python/ceval.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -883,7 +883,7 @@ _PyEval_EvalFrameDefault(PyThreadState *tstate, _PyInterpreterFrame *frame, int
883883
{
884884
int lltrace = maybe_lltrace_resume_frame(frame, &entry_frame,
885885
GLOBALS());
886-
FT_ATOMIC_STORE_UINT8_RELAXED(frame->lltrace, (uint8_t)lltrace);
886+
FT_ATOMIC_STORE_UINT16_RELAXED(frame->lltrace, (uint8_t)lltrace);
887887
if (lltrace < 0) {
888888
goto exit_unwind;
889889
}
@@ -1006,7 +1006,7 @@ _PyEval_EvalFrameDefault(PyThreadState *tstate, _PyInterpreterFrame *frame, int
10061006
}
10071007
/* Resume normal execution */
10081008
#ifdef LLTRACE
1009-
if (FT_ATOMIC_LOAD_UINT8_RELAXED(frame->lltrace) >= 5) {
1009+
if (FT_ATOMIC_LOAD_UINT16_RELAXED(frame->lltrace) >= 5) {
10101010
lltrace_resume_frame(frame);
10111011
}
10121012
#endif
@@ -1083,7 +1083,7 @@ _PyEval_EvalFrameDefault(PyThreadState *tstate, _PyInterpreterFrame *frame, int
10831083
for (;;) {
10841084
uopcode = next_uop->opcode;
10851085
#ifdef Py_DEBUG
1086-
if (FT_ATOMIC_LOAD_UINT8_RELAXED(frame->lltrace) >= 3) {
1086+
if (FT_ATOMIC_LOAD_UINT16_RELAXED(frame->lltrace) >= 3) {
10871087
dump_stack(frame, stack_pointer);
10881088
if (next_uop->opcode == _START_EXECUTOR) {
10891089
printf("%4d uop: ", 0);
@@ -1125,7 +1125,7 @@ _PyEval_EvalFrameDefault(PyThreadState *tstate, _PyInterpreterFrame *frame, int
11251125

11261126
jump_to_error_target:
11271127
#ifdef Py_DEBUG
1128-
if (FT_ATOMIC_LOAD_UINT8_RELAXED(frame->lltrace) >= 2) {
1128+
if (FT_ATOMIC_LOAD_UINT16_RELAXED(frame->lltrace) >= 2) {
11291129
printf("Error: [UOp ");
11301130
_PyUOpPrint(&next_uop[-1]);
11311131
printf(" @ %d -> %s]\n",
@@ -1161,7 +1161,7 @@ _PyEval_EvalFrameDefault(PyThreadState *tstate, _PyInterpreterFrame *frame, int
11611161
next_instr = next_uop[-1].target + _PyFrame_GetBytecode(frame);
11621162
goto_to_tier1:
11631163
#ifdef Py_DEBUG
1164-
if (FT_ATOMIC_LOAD_UINT8_RELAXED(frame->lltrace) >= 2) {
1164+
if (FT_ATOMIC_LOAD_UINT16_RELAXED(frame->lltrace) >= 2) {
11651165
printf("DEOPT: [UOp ");
11661166
_PyUOpPrint(&next_uop[-1]);
11671167
printf(" -> %s]\n",

0 commit comments

Comments
 (0)