summaryrefslogtreecommitdiffstats
path: root/Python/optimizer_analysis.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2023-12-12 00:42:30 (GMT)
committerGitHub <noreply@github.com>2023-12-12 00:42:30 (GMT)
commit5b8664433829ea967c150363cf49a5c4c1380fe8 (patch)
tree3a03e24b502da7ea03182f6522bb1d12d195205a /Python/optimizer_analysis.c
parentfdee7b7b3e15931d58f07e5449de2e55b4d48b05 (diff)
downloadcpython-5b8664433829ea967c150363cf49a5c4c1380fe8.zip
cpython-5b8664433829ea967c150363cf49a5c4c1380fe8.tar.gz
cpython-5b8664433829ea967c150363cf49a5c4c1380fe8.tar.bz2
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/optimizer_analysis.c')
-rw-r--r--Python/optimizer_analysis.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/Python/optimizer_analysis.c b/Python/optimizer_analysis.c
index 0f9bc08..8b471d7 100644
--- a/Python/optimizer_analysis.c
+++ b/Python/optimizer_analysis.c
@@ -15,7 +15,6 @@
static void
remove_unneeded_uops(_PyUOpInstruction *buffer, int buffer_size)
{
- // Note that we don't enter stubs, those SET_IPs are needed.
int last_set_ip = -1;
bool maybe_invalid = false;
for (int pc = 0; pc < buffer_size; pc++) {