summaryrefslogtreecommitdiffstats
path: root/Python/optimizer_bytecodes.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2024-03-18 18:08:43 (GMT)
committerGitHub <noreply@github.com>2024-03-18 18:08:43 (GMT)
commit76d086890790f1bfbe05d12e02cadb539db5b0b1 (patch)
tree5cf01c3fa78e0bada5d3707bd8410deab928519c /Python/optimizer_bytecodes.c
parent849e0716d378d6f9f724d1b3c386f6613d52a49d (diff)
downloadcpython-76d086890790f1bfbe05d12e02cadb539db5b0b1.zip
cpython-76d086890790f1bfbe05d12e02cadb539db5b0b1.tar.gz
cpython-76d086890790f1bfbe05d12e02cadb539db5b0b1.tar.bz2
Cleanup tier2 debug output (#116920)
Various tweaks, including a slight refactor of the special cases for `_PUSH_FRAME`/`_POP_FRAME` to show the actual operand emitted.
Diffstat (limited to 'Python/optimizer_bytecodes.c')
-rw-r--r--Python/optimizer_bytecodes.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/optimizer_bytecodes.c b/Python/optimizer_bytecodes.c
index 54abbcd..ef08c0d 100644
--- a/Python/optimizer_bytecodes.c
+++ b/Python/optimizer_bytecodes.c
@@ -544,6 +544,7 @@ dummy_func(void) {
(void)callable;
PyFunctionObject *func = (PyFunctionObject *)(this_instr + 2)->operand;
+ DPRINTF(3, "func: %p ", func);
if (func == NULL) {
goto error;
}