gh-146393: Use recorded type instead of instance in BINARY_OP (#148569)

This commit is contained in:
Pieter Eendebak 2026-04-14 22:11:42 +02:00 committed by GitHub
parent 0012686d92
commit 5c3decad66
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 1042 additions and 1013 deletions

View file

@ -5482,6 +5482,14 @@
break;
}
case _RECORD_NOS_TYPE: {
JitOptRef nos;
nos = stack_pointer[-2];
PyTypeObject *tp = (PyTypeObject *)this_instr->operand0;
sym_set_recorded_type(nos, tp);
break;
}
case _RECORD_NOS_GEN_FUNC: {
JitOptRef nos;
nos = stack_pointer[-2];