mirror of
https://github.com/python/cpython.git
synced 2025-08-27 12:16:04 +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
|
@ -698,14 +698,14 @@ dummy_func(
|
|||
|
||||
inst(CALL_INTRINSIC_1, (value -- res)) {
|
||||
assert(oparg <= MAX_INTRINSIC_1);
|
||||
res = _PyIntrinsics_UnaryFunctions[oparg](tstate, value);
|
||||
res = _PyIntrinsics_UnaryFunctions[oparg].func(tstate, value);
|
||||
DECREF_INPUTS();
|
||||
ERROR_IF(res == NULL, error);
|
||||
}
|
||||
|
||||
inst(CALL_INTRINSIC_2, (value2, value1 -- res)) {
|
||||
assert(oparg <= MAX_INTRINSIC_2);
|
||||
res = _PyIntrinsics_BinaryFunctions[oparg](tstate, value2, value1);
|
||||
res = _PyIntrinsics_BinaryFunctions[oparg].func(tstate, value2, value1);
|
||||
DECREF_INPUTS();
|
||||
ERROR_IF(res == NULL, error);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue