Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ParseXS: always XSprePUSH when producing an output list
The late XSprePUSH with a non-PUSHx() RETVAL was causing the stack and accesses to ST(n) to be out of sync. If generated RETVAL code does write directly to ST(n) (as much does), doesn't generate a push and we're generating output list code, adjust SP to match to keep things in sync. Also test that the original example case that worked, continues to work. Fixes #19054
- Loading branch information
Showing
3 changed files
with
57 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters