gh-107901: synthetic jumps which are not at end of loop no longer check the eval breaker (#113721)

This commit is contained in:
Irit Katriel 2024-01-06 14:20:08 +00:00 committed by GitHub
parent bb4c167060
commit d36a365118
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 108 additions and 53 deletions

View file

@ -21,7 +21,7 @@ class IsolatedCodeGenTests(CodegenTestCase):
('TO_BOOL', 0, 1),
('POP_JUMP_IF_FALSE', false_lbl := self.Label(), 1),
('LOAD_CONST', 1, 1),
('JUMP', exit_lbl := self.Label()),
('JUMP_NO_INTERRUPT', exit_lbl := self.Label()),
false_lbl,
('LOAD_CONST', 2, 1),
exit_lbl,