diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2023-03-21 20:51:13 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2023-03-21 20:51:13 -0700 |
commit | 4f77a300d19f9e6990509424ccb3333555552d64 (patch) | |
tree | 66fc89a2ca5bdd4e301415c82f8f270d81c65b15 /stdlib/compiler.tl | |
parent | 7f522c011175c97035af61d73b0b013c5ee767ea (diff) | |
download | txr-4f77a300d19f9e6990509424ccb3333555552d64.tar.gz txr-4f77a300d19f9e6990509424ccb3333555552d64.tar.bz2 txr-4f77a300d19f9e6990509424ccb3333555552d64.zip |
compiler: bug: unmatchable pattern in optimizer.
This was uncovered by unused variable warnings.
* stdlib/optimize.tl (basic-blocks peephole-block):
The pattern trying to detect wasteful register moves
is incorrect; the reg1 term is intended to be the
@reg1 variable. It is matched literally and so will
not match because the symbol reg1 does not literally
occur in the VM code.
Diffstat (limited to 'stdlib/compiler.tl')
0 files changed, 0 insertions, 0 deletions