Skip to content

Commit

Permalink
Remove suspicious assert from _SAVE_CURRENT_IP
Browse files Browse the repository at this point in the history
  • Loading branch information
gvanrossum committed Oct 22, 2023
1 parent fb3ec42 commit 7a68e20
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion Python/bytecodes.c
Original file line number Diff line number Diff line change
Expand Up @@ -3968,7 +3968,6 @@ dummy_func(
#if TIER_TWO
frame->next_instr_offset = oparg;
#endif
assert(frame->next_instr_offset != 0);
}

op(_EXIT_TRACE, (--)) {
Expand Down
1 change: 0 additions & 1 deletion Python/executor_cases.c.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions Python/generated_cases.c.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7a68e20

Please sign in to comment.