summaryrefslogtreecommitdiff
path: root/Python/opcode_targets.h
diff options
context:
space:
mode:
authorYury Selivanov <yury@magic.io>2016-12-13 19:03:51 -0500
committerYury Selivanov <yury@magic.io>2016-12-13 19:03:51 -0500
commit4f5d39b98cc760dcb7641bb71bdaeb2933b1ee40 (patch)
treeb8af21b0ed21d81918771d352ab1a915324d8f5a /Python/opcode_targets.h
parentb00a24500f1d41da79b033d3afedc29a3e006e53 (diff)
downloadcpython-4f5d39b98cc760dcb7641bb71bdaeb2933b1ee40.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 'Python/opcode_targets.h')
-rw-r--r--Python/opcode_targets.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/opcode_targets.h b/Python/opcode_targets.h
index 72d24080d8..567f8723a6 100644
--- a/Python/opcode_targets.h
+++ b/Python/opcode_targets.h
@@ -159,8 +159,8 @@ static void *opcode_targets[256] = {
&&TARGET_BUILD_STRING,
&&TARGET_BUILD_TUPLE_UNPACK_WITH_CALL,
&&_unknown_opcode,
- &&_unknown_opcode,
- &&_unknown_opcode,
+ &&TARGET_LOAD_METHOD,
+ &&TARGET_CALL_METHOD,
&&_unknown_opcode,
&&_unknown_opcode,
&&_unknown_opcode,