From 5b8664433829ea967c150363cf49a5c4c1380fe8 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Mon, 11 Dec 2023 16:42:30 -0800 Subject: 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 --- Python/ceval_macros.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Python/ceval_macros.h') 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 -- cgit v1.2.3