gh-87092: reduce redundancy and repetition in compiler's optimization stage (GH-96713)

This commit is contained in:
Irit Katriel 2022-09-13 13:03:41 +01:00 committed by GitHub
parent 49cceeb5c9
commit 6d7a0e0dd7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 84 additions and 100 deletions

View file

@ -344,8 +344,6 @@ class TestTranforms(BytecodeTestCase):
self.assertEqual(len(returns), 1)
self.check_lnotab(f)
@unittest.skip("Following gh-92228 the return has two predecessors "
"and that prevents jump elimination.")
def test_elim_jump_to_return(self):
# JUMP_FORWARD to RETURN --> RETURN
def f(cond, true_value, false_value):