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:
Guido van Rossum 2024-03-18 11:08:43 -07:00 committed by GitHub
parent 849e0716d3
commit 76d0868907
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 50 additions and 22 deletions

View file

@ -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;
}