◐ Shell
clean mode source ↗

GH-104584: Fix incorrect uoperands by brandtbucher · Pull Request #107513 · python/cpython

There's currently an off-by-one error during trace construction that causes incorrect values to be loaded from the inline caches.

This fix results in a significant reduction in deoptimization events, and a dramatic improvement in our ability to stay on trace!