GH-132508: Use tagged integers on the evaluation stack for the last instruction offset (GH-132545)
This commit is contained in:
@@ -146,6 +146,10 @@ dump_item(_PyStackRef item)
|
||||
printf("<NULL>");
|
||||
return;
|
||||
}
|
||||
if (PyStackRef_IsTaggedInt(item)) {
|
||||
printf("%" PRId64, (int64_t)PyStackRef_UntagInt(item));
|
||||
return;
|
||||
}
|
||||
PyObject *obj = PyStackRef_AsPyObjectBorrow(item);
|
||||
if (obj == NULL) {
|
||||
printf("<nil>");
|
||||
|
||||
Reference in New Issue
Block a user