You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
JIT dict access guards check the wrong stack operand #158380
When the Tier 2 optimizer uses a dict's recorded type as its probable type, it replaces the subscript guard with _GUARD_TYPE. This guard checks the top of the stack, which holds the key. The dict is one slot below it.
For a plain dict and a string key, as in the example below, the guard fails and execution exits the current Tier 2 trace.
Activity
gh-158380: Fix the stack operand used by JIT dict access guards (GH-1…