diff options
| author | Miquel Sabaté Solà <mikisabate@gmail.com> | 2025-01-10 12:46:21 +0100 |
|---|---|---|
| committer | Miquel Sabaté Solà <mikisabate@gmail.com> | 2025-01-10 12:46:21 +0100 |
| commit | 126e5eba61c3ca2b74fb9e7d52c91d90e8315a0c (patch) | |
| tree | 21c66cecebb27df553f09f2cc60c7b2ace3f6a30 /lib/xixanta/src/lib.rs | |
| parent | 68ce788d00fe0b8353b7e6aee5ce8dfae564ea5a (diff) | |
| download | tools.nes-126e5eba61c3ca2b74fb9e7d52c91d90e8315a0c.tar.gz tools.nes-126e5eba61c3ca2b74fb9e7d52c91d90e8315a0c.zip | |
Properly fill the context stack when forcing it
When calling `force_context_switch` the stack was mindlessly pushing the
given name without taking into consideration how scopes are to be laid
out. This made some variables/addresses that were previously preserved
no longer reachable when crunching pending nodes.
This patch also makes `force_context_switch` reset the stack before
doing anything at all, which means that `force_context_pop` was no
longer relevant.
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
Diffstat (limited to 'lib/xixanta/src/lib.rs')
0 files changed, 0 insertions, 0 deletions
