aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python/ceval_macros.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2023-12-11 16:42:30 -0800
committerGitHub <noreply@github.com>2023-12-11 16:42:30 -0800
commit5b8664433829ea967c150363cf49a5c4c1380fe8 (patch)
tree3a03e24b502da7ea03182f6522bb1d12d195205a /Python/ceval_macros.h
parentfdee7b7b3e15931d58f07e5449de2e55b4d48b05 (diff)
downloadcpython-5b8664433829ea967c150363cf49a5c4c1380fe8.tar.gz
cpython-5b8664433829ea967c150363cf49a5c4c1380fe8.zip
A smattering of cleanups in uop debug output and lltrace (#112980)
* Include destination T1 opcode in Error debug message * Include destination T1 opcode in DEOPT debug message * Remove obsolete comment from remove_unneeded_uops * Change lltrace_instruction() to print caller's opcode/oparg
Diffstat (limited to 'Python/ceval_macros.h')
-rw-r--r--Python/ceval_macros.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/ceval_macros.h b/Python/ceval_macros.h
index b0cb7c89263..f298c602b10 100644
--- a/Python/ceval_macros.h
+++ b/Python/ceval_macros.h
@@ -81,7 +81,7 @@
/* PRE_DISPATCH_GOTO() does lltrace if enabled. Normally a no-op */
#ifdef LLTRACE
#define PRE_DISPATCH_GOTO() if (lltrace >= 5) { \
- lltrace_instruction(frame, stack_pointer, next_instr); }
+ lltrace_instruction(frame, stack_pointer, next_instr, opcode, oparg); }
#else
#define PRE_DISPATCH_GOTO() ((void)0)
#endif