GH-111520: Add back the operand local (GH-111813)

This commit is contained in:
Brandt Bucher 2023-11-13 17:27:19 -08:00 committed by GitHub
parent 36aab34fab
commit 31ad7e061e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 24 additions and 28 deletions

View file

@ -992,9 +992,7 @@ enter_tier_two:
OPT_STAT_INC(traces_executed);
_PyUOpInstruction *next_uop = current_executor->trace;
#ifdef Py_DEBUG
uint64_t operand; // Used by several DPRINTF() calls
#endif
uint64_t operand;
#ifdef Py_STATS
uint64_t trace_uop_execution_counter = 0;
#endif
@ -1002,9 +1000,7 @@ enter_tier_two:
for (;;) {
opcode = next_uop->opcode;
oparg = next_uop->oparg;
#ifdef Py_DEBUG
operand = next_uop->operand;
#endif
DPRINTF(3,
"%4d: uop %s, oparg %d, operand %" PRIu64 ", stack_level %d\n",
(int)(next_uop - current_executor->trace),