You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
The cases_generator handles some instructions incorrectly #106250
inst(TO_BOOL_ALWAYS_TRUE, (unused/1, version/2, value--res)) {
// This one is a bit weird, because we expect *some* failures:assert(version);
DEOPT_IF(Py_TYPE(value)->tp_version_tag!=version, TO_BOOL);
STAT_INC(TO_BOOL, hit);
DECREF_INPUTS();
res=Py_True;
}
@gvanrossum thinks that the assert is incorrect: it appears that the current code doesn't know how to handle an instruction that uses caches but doesn't have an oparg.
Activity
GH-106250: Support insts using one cache entry and no oparg (GH-106252)