Skip to content

Commit

Permalink
fix a deopt
Browse files Browse the repository at this point in the history
  • Loading branch information
Fidget-Spinner committed Jun 8, 2022
1 parent 20b3352 commit 28ddf12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Python/ceval.c
Original file line number Diff line number Diff line change
Expand Up @@ -3556,7 +3556,7 @@ _PyEval_EvalFrameDefault(PyThreadState *tstate, _PyInterpreterFrame *frame, int
assert(cache->index < dict->ma_keys->dk_nentries);
PyDictUnicodeEntry* ep = DK_UNICODE_ENTRIES(dict->ma_keys) + cache->index;
res = ep->me_value;
DEOPT_IF(res == NULL, LOAD_##attr_or_method);
DEOPT_IF(res == NULL, LOAD_ATTR);
STAT_INC(LOAD_ATTR, hit);
Py_INCREF(res);
SET_TOP(NULL);
Expand Down

0 comments on commit 28ddf12

Please sign in to comment.