summaryrefslogtreecommitdiffstats
path: root/Python/executor_cases.c.h
diff options
context:
space:
mode:
authorIrit Katriel <1055913+iritkatriel@users.noreply.github.com>2023-07-20 16:46:04 (GMT)
committerGitHub <noreply@github.com>2023-07-20 16:46:04 (GMT)
commit9c81fc2dbee3ac8a2f30ad24b0876d80628a94ac (patch)
tree74642722ed13a213cfe9b33701b72fb621c2886d /Python/executor_cases.c.h
parent214a25dd81dfe5ee0ab843cf665da2a7473a08db (diff)
downloadcpython-9c81fc2dbee3ac8a2f30ad24b0876d80628a94ac.zip
cpython-9c81fc2dbee3ac8a2f30ad24b0876d80628a94ac.tar.gz
cpython-9c81fc2dbee3ac8a2f30ad24b0876d80628a94ac.tar.bz2
gh-105481: do not auto-generate pycore_intrinsics.h (#106913)
Diffstat (limited to 'Python/executor_cases.c.h')
-rw-r--r--Python/executor_cases.c.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/executor_cases.c.h b/Python/executor_cases.c.h
index 90607e8..5b38c6a 100644
--- a/Python/executor_cases.c.h
+++ b/Python/executor_cases.c.h
@@ -558,7 +558,7 @@
PyObject *value = stack_pointer[-1];
PyObject *res;
assert(oparg <= MAX_INTRINSIC_1);
- res = _PyIntrinsics_UnaryFunctions[oparg](tstate, value);
+ res = _PyIntrinsics_UnaryFunctions[oparg].func(tstate, value);
Py_DECREF(value);
if (res == NULL) goto pop_1_error;
stack_pointer[-1] = res;
@@ -570,7 +570,7 @@
PyObject *value2 = stack_pointer[-2];
PyObject *res;
assert(oparg <= MAX_INTRINSIC_2);
- res = _PyIntrinsics_BinaryFunctions[oparg](tstate, value2, value1);
+ res = _PyIntrinsics_BinaryFunctions[oparg].func(tstate, value2, value1);
Py_DECREF(value2);
Py_DECREF(value1);
if (res == NULL) goto pop_2_error;