summaryrefslogtreecommitdiffstats
path: root/Python/flowgraph.c
diff options
context:
space:
mode:
authorIrit Katriel <1055913+iritkatriel@users.noreply.github.com>2024-06-18 22:09:23 (GMT)
committerGitHub <noreply@github.com>2024-06-18 22:09:23 (GMT)
commitb7f478948fcf3bf8e62c79ebcb3ff69bf06d9c4d (patch)
treeda69e9ff600ed455583aa9bac028d38ae7598483 /Python/flowgraph.c
parent69058e20e420181abdc51094474f590d32cd7174 (diff)
downloadcpython-b7f478948fcf3bf8e62c79ebcb3ff69bf06d9c4d.zip
cpython-b7f478948fcf3bf8e62c79ebcb3ff69bf06d9c4d.tar.gz
cpython-b7f478948fcf3bf8e62c79ebcb3ff69bf06d9c4d.tar.bz2
gh-120367: fix bug where compiler detects redundant jump after pseudo op replacement (#120714)
Diffstat (limited to 'Python/flowgraph.c')
-rw-r--r--Python/flowgraph.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/flowgraph.c b/Python/flowgraph.c
index 6f30dfc..8c1c20a 100644
--- a/Python/flowgraph.c
+++ b/Python/flowgraph.c
@@ -2389,7 +2389,7 @@ convert_pseudo_ops(cfg_builder *g)
}
}
}
- return remove_redundant_nops(g);
+ return remove_redundant_nops_and_jumps(g);
}
static inline bool