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
Evaluation stack bounds are not checked in debug builds. #120982
Prior to the generating code for the interpreter(s), we had a set of macros for stack manipulation, PUSH, POP, etc.
The code generator does not use these any more, which improves readability, but we have lost the runtime checking of bounds.
Having those bounds checks would have identified the issue with #120793 almost immediately.
We should add bounds checking asserts in the generated code.
E.g. stack_pointer +=1 should be
Activity
GH-120982: Add stack check assertions to generated interpreter code (G…
pythonGH-120982: Add stack check assertions to generated interpreter …
pythonGH-120982: Add stack check assertions to generated interpreter …
pythonGH-120982: Add stack check assertions to generated interpreter …