mirror of
https://github.com/python/cpython.git
synced 2025-07-09 20:35:26 +00:00
gh-105481: do not auto-generate pycore_intrinsics.h (#106913)
This commit is contained in:
parent
214a25dd81
commit
9c81fc2dbe
11 changed files with 174 additions and 91 deletions
4
Python/executor_cases.c.h
generated
4
Python/executor_cases.c.h
generated
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue