mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
gh-87092: reduce redundancy and repetition in compiler's optimization stage (GH-96713)
This commit is contained in:
parent
49cceeb5c9
commit
6d7a0e0dd7
3 changed files with 84 additions and 100 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue