diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2025-06-20 21:48:13 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2025-06-20 21:48:13 -0700 |
commit | e853d74481a69415021aabac70f28fd1b403b62a (patch) | |
tree | 46b4bdb10717863c5651dd52f94e8a2d401cb4cf /mpi-patches/mpi-to-double | |
parent | c11c2304890a46073349d938b1d17a1e26b093d9 (diff) | |
download | txr-e853d74481a69415021aabac70f28fd1b403b62a.tar.gz txr-e853d74481a69415021aabac70f28fd1b403b62a.tar.bz2 txr-e853d74481a69415021aabac70f28fd1b403b62a.zip |
compiler: bug: end instruction balance in tjmp/bjmp handling.
I was reading the compiler code and noticed that the code
template for unwind protect has two end instructions: one
for the protected calculation and one for the unwinds.
* stdlib/compiler.tl (convert-t-b-jumps): When a uwprot
instruction is encountered, the balance must be incremented
by 2, in order to skip past two end instructions. Without
this we will end up with incorrect code for a block return
that jumps out of a block, in which there is a subsequent
unwind-protect.
Diffstat (limited to 'mpi-patches/mpi-to-double')
0 files changed, 0 insertions, 0 deletions