mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
GH-98686: Get rid of "adaptive" and "quick" instructions (GH-99182)
This commit is contained in:
parent
6e3cc72afe
commit
c7f5708714
18 changed files with 562 additions and 758 deletions
|
@ -741,7 +741,7 @@ dis_loop_test_quickened_code = """\
|
|||
LOAD_CONST 1 ((1, 2, 3))
|
||||
LIST_EXTEND 1
|
||||
LOAD_CONST 2 (3)
|
||||
BINARY_OP_ADAPTIVE 5 (*)
|
||||
BINARY_OP 5 (*)
|
||||
GET_ITER
|
||||
>> FOR_ITER_LIST 15 (to 50)
|
||||
STORE_FAST 0 (i)
|
||||
|
@ -1200,7 +1200,7 @@ class DisTests(DisTestBase):
|
|||
for cache in caches:
|
||||
self.assertRegex(cache, pattern)
|
||||
total_caches = 23
|
||||
empty_caches = 8 if adaptive else total_caches
|
||||
empty_caches = 8
|
||||
self.assertEqual(caches.count(""), empty_caches)
|
||||
self.assertEqual(len(caches), total_caches)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue