gh-115999: remove redundant check in free-threading from _STORE_ATTR_WITH_HINT (#136249)
This commit is contained in:
9
Python/executor_cases.c.h
generated
9
Python/executor_cases.c.h
generated
@@ -3704,15 +3704,6 @@
|
||||
UOP_STAT_INC(uopcode, miss);
|
||||
JUMP_TO_JUMP_TARGET();
|
||||
}
|
||||
#ifdef Py_GIL_DISABLED
|
||||
if (dict != _PyObject_GetManagedDict(owner_o)) {
|
||||
UNLOCK_OBJECT(dict);
|
||||
if (true) {
|
||||
UOP_STAT_INC(uopcode, miss);
|
||||
JUMP_TO_JUMP_TARGET();
|
||||
}
|
||||
}
|
||||
#endif
|
||||
assert(PyDict_CheckExact((PyObject *)dict));
|
||||
PyObject *name = GETITEM(FRAME_CO_NAMES, oparg);
|
||||
if (hint >= (size_t)dict->ma_keys->dk_nentries ||
|
||||
|
||||
Reference in New Issue
Block a user