diff options
author | Brandt Bucher <brandtbucher@gmail.com> | 2019-09-29 00:12:49 (GMT) |
---|---|---|
committer | Raymond Hettinger <rhettinger@users.noreply.github.com> | 2019-09-29 00:12:49 (GMT) |
commit | f185a73249189bc3b75b4dc26e9ec2990a587b17 (patch) | |
tree | 5a91645e0202a77e1cc8509b922a680873a5e37a /Python/ceval.c | |
parent | c5a7e0ce194c0eafe82eb3e431881012398e7d46 (diff) | |
download | cpython-f185a73249189bc3b75b4dc26e9ec2990a587b17.zip cpython-f185a73249189bc3b75b4dc26e9ec2990a587b17.tar.gz cpython-f185a73249189bc3b75b4dc26e9ec2990a587b17.tar.bz2 |
bpo-38310: Predict BUILD_MAP_UNPACK_WITH_CALL -> CALL_FUNCTION_EX. (GH-16467)
Diffstat (limited to 'Python/ceval.c')
-rw-r--r-- | Python/ceval.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Python/ceval.c b/Python/ceval.c index 964ce13..a7d2ea8 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -2943,6 +2943,7 @@ main_loop: while (oparg--) Py_DECREF(POP()); PUSH(sum); + PREDICT(CALL_FUNCTION_EX); DISPATCH(); } @@ -3522,6 +3523,7 @@ main_loop: } case TARGET(CALL_FUNCTION_EX): { + PREDICTED(CALL_FUNCTION_EX); PyObject *func, *callargs, *kwargs = NULL, *result; if (oparg & 0x01) { kwargs = POP(); |