Skip to content

Commit

Permalink
GH-128533: Add NOT_TAKEN instruction after bytecode optimization. (G…
Browse files Browse the repository at this point in the history
  • Loading branch information
markshannon authored Jan 6, 2025
1 parent b6c919b commit 2434fd2
Show file tree
Hide file tree
Showing 4 changed files with 127 additions and 139 deletions.
1 change: 0 additions & 1 deletion Lib/test/test_compiler_codegen.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ def test_if_expression(self):
('LOAD_CONST', 0, 1),
('TO_BOOL', 0, 1),
('POP_JUMP_IF_FALSE', false_lbl := self.Label(), 1),
('NOT_TAKEN', None, 1),
('LOAD_SMALL_INT', 42, 1),
('JUMP_NO_INTERRUPT', exit_lbl := self.Label()),
false_lbl,
Expand Down
Loading

0 comments on commit 2434fd2

Please sign in to comment.