mirror of
https://github.com/python/cpython.git
synced 2025-10-07 07:31:46 +00:00
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.
This commit is contained in:
parent
849e0716d3
commit
76d0868907
5 changed files with 50 additions and 22 deletions
1
Python/optimizer_cases.c.h
generated
1
Python/optimizer_cases.c.h
generated
|
@ -1597,6 +1597,7 @@
|
|||
int argcount = oparg;
|
||||
(void)callable;
|
||||
PyFunctionObject *func = (PyFunctionObject *)(this_instr + 2)->operand;
|
||||
DPRINTF(3, "func: %p ", func);
|
||||
if (func == NULL) {
|
||||
goto error;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue