@@ -5710,7 +5710,6 @@ class A:
57105710 res , ex = self ._run_with_optimizer (testfunc , TIER2_THRESHOLD )
57115711 self .assertEqual (res , TIER2_THRESHOLD )
57125712 uops = get_opnames (ex )
5713-
57145713 self .assertIn ("_MATCH_CLASS" , uops )
57155714 self .assertEqual (count_ops (ex , "_POP_TOP_NOP" ), 4 )
57165715
@@ -5728,9 +5727,8 @@ def testfunc(n):
57285727 res , ex = self ._run_with_optimizer (testfunc , TIER2_THRESHOLD )
57295728 self .assertEqual (res , TIER2_THRESHOLD )
57305729 uops = get_opnames (ex )
5731-
5732- self .assertIn ("_MATCH_MAPPING" , uops )
5733- self .assertNotIn ("_GUARD_BIT_IS_SET_POP" , uops )
5730+ self .assertNotIn ("_MATCH_MAPPING" , uops )
5731+ self .assertIn ("_LOAD_COMMON_CONSTANT" , uops )
57345732
57355733 def test_match_sequence (self ):
57365734 def testfunc (n ):
@@ -5745,9 +5743,8 @@ def testfunc(n):
57455743 res , ex = self ._run_with_optimizer (testfunc , TIER2_THRESHOLD )
57465744 self .assertEqual (res , TIER2_THRESHOLD )
57475745 uops = get_opnames (ex )
5748-
5749- self .assertIn ("_MATCH_SEQUENCE" , uops )
5750- self .assertNotIn ("_GUARD_BIT_IS_SET_POP" , uops )
5746+ self .assertNotIn ("_MATCH_SEQUENCE" , uops )
5747+ self .assertIn ("_LOAD_COMMON_CONSTANT" , uops )
57515748
57525749 def test_dict_update (self ):
57535750 def testfunc (n ):
0 commit comments