diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2021-12-11 01:33:54 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2021-12-11 01:33:54 -0800 |
commit | 8b5cba427098511aaec8ba061d056d960bccfad9 (patch) | |
tree | d0379cfc973aed8686af384b7835ff5de52e135e /regex.c | |
parent | 55945d1c3156cb63b348720d36514b19ecad8dcb (diff) | |
download | txr-8b5cba427098511aaec8ba061d056d960bccfad9.tar.gz txr-8b5cba427098511aaec8ba061d056d960bccfad9.tar.bz2 txr-8b5cba427098511aaec8ba061d056d960bccfad9.zip |
compiler: small end/jend issue in late-peephole.
* stdlib/optimize.tl (basic-blocks late-peephole): In one
pattern, an instruction that is recognized as (jend ...)
is inadvertently rewritten to (end ...). Since this is the
last optimization stage, currently, and end and jend are
synonyms for the same opcode, it doesn't matter.
But it could turn into a bug; let's fix it.
Diffstat (limited to 'regex.c')
0 files changed, 0 insertions, 0 deletions