diff options
author | Yury Selivanov <yury@magic.io> | 2016-12-13 19:03:51 -0500 |
---|---|---|
committer | Yury Selivanov <yury@magic.io> | 2016-12-13 19:03:51 -0500 |
commit | f2392133eba777f05947a8996c507690b95379c3 (patch) | |
tree | 3d3e352b04691dabeab1eb8502c2417d2af04826 /Lib/opcode.py | |
parent | e6bb53bf61ac24feca775bdaa651433b8466d2fa (diff) | |
download | cpython-git-f2392133eba777f05947a8996c507690b95379c3.tar.gz |
Issue #26110: Add LOAD_METHOD/CALL_METHOD opcodes.
Special thanks to INADA Naoki for pushing the patch through
the last mile, Serhiy Storchaka for reviewing the code, and to
Victor Stinner for suggesting the idea (originally implemented
in the PyPy project).
Diffstat (limited to 'Lib/opcode.py')
-rw-r--r-- | Lib/opcode.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/opcode.py b/Lib/opcode.py index b5916b6619..dffb38c314 100644 --- a/Lib/opcode.py +++ b/Lib/opcode.py @@ -212,4 +212,7 @@ def_op('BUILD_CONST_KEY_MAP', 156) def_op('BUILD_STRING', 157) def_op('BUILD_TUPLE_UNPACK_WITH_CALL', 158) +name_op('LOAD_METHOD', 160) +def_op('CALL_METHOD', 161) + del def_op, name_op, jrel_op, jabs_op |