mirror of
https://github.com/python/cpython.git
synced 2025-07-08 03:45:36 +00:00
gh-135379: Move PyLong_CheckCompact to private header and rename it (GH-135707)
This commit is contained in:
parent
ff639af8ee
commit
0243260284
7 changed files with 26 additions and 26 deletions
|
@ -569,12 +569,12 @@ dummy_func(
|
|||
|
||||
op(_GUARD_NOS_INT, (left, unused -- left, unused)) {
|
||||
PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
|
||||
EXIT_IF(!PyLong_CheckCompact(left_o));
|
||||
EXIT_IF(!_PyLong_CheckExactAndCompact(left_o));
|
||||
}
|
||||
|
||||
op(_GUARD_TOS_INT, (value -- value)) {
|
||||
PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
|
||||
EXIT_IF(!PyLong_CheckCompact(value_o));
|
||||
EXIT_IF(!_PyLong_CheckExactAndCompact(value_o));
|
||||
}
|
||||
|
||||
op(_GUARD_NOS_OVERFLOWED, (left, unused -- left, unused)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue