Skip to content

Commit 768bd9a

Browse files
DinoVmeta-codesync[bot]
authored andcommitted
Enable inline caches for descriptors
Summary: This looks to be a hold-over from 3.14 development when this wasn't working right. Now it's working, let's enable inline caches for descriptors on 3.14. Reviewed By: alexmalyshev, yoney Differential Revision: D103738813 fbshipit-source-id: 1f96e4f3b355077b3a4b51ed6a8452318cefb120
1 parent eacc4e2 commit 768bd9a

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

cinderx/Jit/inline_cache.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -759,10 +759,6 @@ void AttributeCache::fill(
759759
}
760760

761761
if (descr != nullptr) {
762-
// Not yet working.
763-
if (PY_VERSION_HEX >= 0x030E0000) {
764-
return;
765-
}
766762
BorrowedRef<PyTypeObject> descr_type(Py_TYPE(descr));
767763
if (descr_type->tp_descr_get != nullptr &&
768764
descr_type->tp_descr_set != nullptr) {

0 commit comments

Comments
 (0)