summaryrefslogtreecommitdiffstats
path: root/Python/ceval.c
diff options
context:
space:
mode:
authorBrandt Bucher <brandtbucher@microsoft.com>2023-11-14 01:27:19 (GMT)
committerGitHub <noreply@github.com>2023-11-14 01:27:19 (GMT)
commit31ad7e061ebebc484e00ed3ad5ff61061341c35e (patch)
tree37033459fc8023a66cfc64c52dc8680300c62d59 /Python/ceval.c
parent36aab34fab3d05f254fe80ca542c38c5f9ae11fe (diff)
downloadcpython-31ad7e061ebebc484e00ed3ad5ff61061341c35e.zip
cpython-31ad7e061ebebc484e00ed3ad5ff61061341c35e.tar.gz
cpython-31ad7e061ebebc484e00ed3ad5ff61061341c35e.tar.bz2
GH-111520: Add back the operand local (GH-111813)
Diffstat (limited to 'Python/ceval.c')
-rw-r--r--Python/ceval.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/Python/ceval.c b/Python/ceval.c
index 4210039..584b64a 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -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),