mirror of
https://github.com/python/cpython.git
synced 2025-07-16 07:45:20 +00:00
GH-105848: Simplify the arrangement of CALL's stack (GH-107788)
This commit is contained in:
parent
0a7f48b9a8
commit
a9caf9cf90
16 changed files with 627 additions and 682 deletions
|
@ -94,12 +94,12 @@ class IsolatedAssembleTests(AssemblerTestCase):
|
|||
|
||||
instructions = [
|
||||
('RESUME', 0,),
|
||||
('PUSH_NULL', 0, 1),
|
||||
('LOAD_CLOSURE', 0, 1),
|
||||
('BUILD_TUPLE', 1, 1),
|
||||
('LOAD_CONST', 1, 1),
|
||||
('MAKE_FUNCTION', 0, 2),
|
||||
('SET_FUNCTION_ATTRIBUTE', 8, 2),
|
||||
('PUSH_NULL', 0, 1),
|
||||
('CALL', 0, 2), # (lambda: x)()
|
||||
('LOAD_CONST', 2, 2), # 2
|
||||
('BINARY_OP', 6, 2), # %
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue