8000 gh-93678: apply remove_redundant_jumps in optimize_cfg by iritkatriel · Pull Request #96274 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-93678: apply remove_redundant_jumps in optimize_cfg #96274

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Sep 1, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Py_DEBUG --> NDEBUG
  • Loading branch information
iritkatriel committed Aug 31, 2022
commit 566d9c0309c2c6bac58740c7b4914e7f5d2f83ea
2 changes: 1 addition & 1 deletion Python/compile.c
Original file line number Diff line number Diff line change
Expand Up @@ -8482,7 +8482,7 @@ propagate_line_numbers(basicblock *entryblock);
static void
eliminate_empty_basic_blocks(cfg_builder *g);

#ifdef Py_DEBUG
#ifdef NDEBUG
static bool
no_redundant_jumps(cfg_builder *g) {
for (basicblock *b = g->g_entryblock; b != NULL; b = b->b_next) {
Expand Down
0