Skip to content

Commit 2434fd2

Browse files
authored
GH-128533: Add NOT_TAKEN instruction after bytecode optimization. (GH-128554)
1 parent b6c919b commit 2434fd2

File tree

4 files changed

+127
-139
lines changed

4 files changed

+127
-139
lines changed

Lib/test/test_compiler_codegen.py

-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ def test_if_expression(self):
2929
('LOAD_CONST', 0, 1),
3030
('TO_BOOL', 0, 1),
3131
('POP_JUMP_IF_FALSE', false_lbl := self.Label(), 1),
32-
('NOT_TAKEN', None, 1),
3332
('LOAD_SMALL_INT', 42, 1),
3433
('JUMP_NO_INTERRUPT', exit_lbl := self.Label()),
3534
false_lbl,

0 commit comments

Comments
 (0)