summaryrefslogtreecommitdiffstats
path: root/Python/generated_cases.c.h
diff options
context:
space:
mode:
authorKen Jin <kenjin@python.org>2024-11-09 03:35:33 (GMT)
committerGitHub <noreply@github.com>2024-11-09 03:35:33 (GMT)
commit6293d00e7201f3f28b1f4512e57dc4f03855cabd (patch)
tree4baee70137f279c2e1f1a35159a806c67a7f9dff /Python/generated_cases.c.h
parentf8276bf5f37ef12aa0033634151fa33a6f7bd4f2 (diff)
downloadcpython-6293d00e7201f3f28b1f4512e57dc4f03855cabd.zip
cpython-6293d00e7201f3f28b1f4512e57dc4f03855cabd.tar.gz
cpython-6293d00e7201f3f28b1f4512e57dc4f03855cabd.tar.bz2
gh-120619: Strength reduce function guards, support 2-operand uop forms (GH-124846)
Co-authored-by: Brandt Bucher <brandtbucher@gmail.com>
Diffstat (limited to 'Python/generated_cases.c.h')
-rw-r--r--Python/generated_cases.c.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/generated_cases.c.h b/Python/generated_cases.c.h
index 03b4d22..77bf6ad 100644
--- a/Python/generated_cases.c.h
+++ b/Python/generated_cases.c.h
@@ -192,7 +192,7 @@
assert(next_instr->op.code == STORE_FAST);
next_oparg = next_instr->op.arg;
#else
- next_oparg = CURRENT_OPERAND();
+ next_oparg = CURRENT_OPERAND0();
#endif
_PyStackRef *target_local = &GETLOCAL(next_oparg);
DEOPT_IF(!PyStackRef_Is(*target_local, left), BINARY_OP);