aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python/bytecodes.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/bytecodes.c')
-rw-r--r--Python/bytecodes.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/bytecodes.c b/Python/bytecodes.c
index 87cca3fc1d3..34fdfcb05e3 100644
--- a/Python/bytecodes.c
+++ b/Python/bytecodes.c
@@ -381,7 +381,7 @@ dummy_func(
EXIT_IF(!PyLong_CheckExact(value_o));
STAT_INC(TO_BOOL, hit);
if (_PyLong_IsZero((PyLongObject *)value_o)) {
- assert(_Py_IsImmortalLoose(value_o));
+ assert(_Py_IsImmortal(value_o));
DEAD(value);
res = PyStackRef_False;
}
@@ -412,7 +412,7 @@ dummy_func(
EXIT_IF(!PyUnicode_CheckExact(value_o));
STAT_INC(TO_BOOL, hit);
if (value_o == &_Py_STR(empty)) {
- assert(_Py_IsImmortalLoose(value_o));
+ assert(_Py_IsImmortal(value_o));
DEAD(value);
res = PyStackRef_False;
}