Skip to content

Commit bf470bc

Browse files
Apply review suggestion
1 parent 015a3f3 commit bf470bc

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

Python/bytecodes.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3721,8 +3721,7 @@ dummy_func(
37213721
PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable[0]);
37223722
DEOPT_IF(!PyType_Check(callable_o));
37233723
PyTypeObject *tp = (PyTypeObject *)callable_o;
3724-
DEOPT_IF(FT_ATOMIC_LOAD_UINT32_RELAXED(tp->tp_version_tag) != type_version);
3725-
DEOPT_IF(FT_ATOMIC_LOAD_UINT32_RELAXED(tp->tp_version_tag) != type_version);
3724+
DEOPT_IF(tp->tp_version_tag != type_version);
37263725
assert(tp->tp_flags & Py_TPFLAGS_INLINE_VALUES);
37273726
PyHeapTypeObject *cls = (PyHeapTypeObject *)callable_o;
37283727
PyFunctionObject *init_func = (PyFunctionObject *)cls->_spec_cache.init;

Python/executor_cases.c.h

Lines changed: 1 addition & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)