mirror of
https://github.com/python/cpython.git
synced 2025-12-31 04:23:37 +00:00
* Add 3 new opcodes for calls: PRECALL_METHOD, CALL_NO_KW, CALL_KW. * Update specialization to handle new CALL opcodes. * Specialize call to method descriptors. * Remove old CALL opcodes: CALL_FUNCTION, CALL_METHOD, CALL_METHOD_KW, CALL_FUNCTION_KW.
8 lines
312 B
ReStructuredText
8 lines
312 B
ReStructuredText
Replace the four call bytecode instructions which one pre-call instruction
|
|
and two call instructions.
|
|
|
|
Removes ``CALL_FUNCTION``, ``CALL_FUNCTION_KW``, ``CALL_METHOD`` and
|
|
``CALL_METHOD_KW``.
|
|
|
|
Adds ``CALL_NO_KW`` and ``CALL_KW`` call instructions, and
|
|
``PRECALL_METHOD`` prefix for pairing with ``LOAD_METHOD``.
|