Commits

Mark Shannon committed 8d4d199 Draft

STORE_SLOT covers T_OBJECT_EX as well as T_OBJECT

Comments (0)

Files changed (1)

Python/trace_recorder_stack.c

 store_member(HotPyOptimiser *x, PyMemberDef *def)
 {
     assert((def->flags & READONLY) == 0);
-    if (def->type == T_OBJECT) {
+    if (def->type == T_OBJECT || def->type == T_OBJECT_EX) {
         assert(def->offset < (1 << 16));
         opcode_with_arg(x, STORE_SLOT, def->offset);
     }