summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorMark Shannon <mark@hotpy.org>2023-11-14 15:30:33 (GMT)
committerGitHub <noreply@github.com>2023-11-14 15:30:33 (GMT)
commita519b87958da0b340caef48349d6e3c23c98e47e (patch)
treedb7ddda2fae058c072c214bb3e8e58c11dc6bfa8 /Lib/test
parentb11c443bb2ebfdd009e43ff208fa6324b658d15d (diff)
downloadcpython-a519b87958da0b340caef48349d6e3c23c98e47e.zip
cpython-a519b87958da0b340caef48349d6e3c23c98e47e.tar.gz
cpython-a519b87958da0b340caef48349d6e3c23c98e47e.tar.bz2
GH-111848: Convert remaining jumps to deopts into tier 2 code. (GH-112045)
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_capi/test_misc.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/Lib/test/test_capi/test_misc.py b/Lib/test/test_capi/test_misc.py
index d526bbf..fe5c36c 100644
--- a/Lib/test/test_capi/test_misc.py
+++ b/Lib/test/test_capi/test_misc.py
@@ -2610,7 +2610,7 @@ class TestUops(unittest.TestCase):
ex = get_first_executor(testfunc)
self.assertIsNotNone(ex)
uops = {opname for opname, _, _ in ex}
- self.assertIn("_POP_JUMP_IF_FALSE", uops)
+ self.assertIn("_GUARD_IS_TRUE_POP", uops)
def test_pop_jump_if_none(self):
def testfunc(a):
@@ -2625,7 +2625,7 @@ class TestUops(unittest.TestCase):
ex = get_first_executor(testfunc)
self.assertIsNotNone(ex)
uops = {opname for opname, _, _ in ex}
- self.assertIn("_POP_JUMP_IF_TRUE", uops)
+ self.assertIn("_GUARD_IS_NOT_NONE_POP", uops)
def test_pop_jump_if_not_none(self):
def testfunc(a):
@@ -2641,7 +2641,7 @@ class TestUops(unittest.TestCase):
ex = get_first_executor(testfunc)
self.assertIsNotNone(ex)
uops = {opname for opname, _, _ in ex}
- self.assertIn("_POP_JUMP_IF_FALSE", uops)
+ self.assertIn("_GUARD_IS_NONE_POP", uops)
def test_pop_jump_if_true(self):
def testfunc(n):
@@ -2656,7 +2656,7 @@ class TestUops(unittest.TestCase):
ex = get_first_executor(testfunc)
self.assertIsNotNone(ex)
uops = {opname for opname, _, _ in ex}
- self.assertIn("_POP_JUMP_IF_TRUE", uops)
+ self.assertIn("_GUARD_IS_FALSE_POP", uops)
def test_jump_backward(self):
def testfunc(n):
@@ -2806,7 +2806,7 @@ class TestUops(unittest.TestCase):
ex = get_first_executor(testfunc)
self.assertIsNotNone(ex)
uops = {opname for opname, _, _ in ex}
- self.assertIn("_POP_JUMP_IF_TRUE", uops)
+ self.assertIn("_GUARD_IS_FALSE_POP", uops)
if __name__ == "__main__":