mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +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
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue