GH-128533: Add NOT_TAKEN instruction after bytecode optimization. (GH-128554)

This commit is contained in:
Mark Shannon 2025-01-06 22:01:07 +00:00 committed by GitHub
parent b6c919b674
commit 2434fd2d50
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 127 additions and 139 deletions

View file

@ -29,7 +29,6 @@ class IsolatedCodeGenTests(CodegenTestCase):
('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,