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 | 1adc9a307ca9009a9cd39b7ed109cd9ecb597200 (patch) | |
tree | 66fc89a2ca5bdd4e301415c82f8f270d81c65b15 /stdlib/txr-case.txr | |
parent | 6a5d5e45f262794753fb2fa698bbf66fb6d7cc3b (diff) | |
download | txr-1adc9a307ca9009a9cd39b7ed109cd9ecb597200.tar.gz txr-1adc9a307ca9009a9cd39b7ed109cd9ecb597200.tar.bz2 txr-1adc9a307ca9009a9cd39b7ed109cd9ecb597200.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/txr-case.txr')
0 files changed, 0 insertions, 0 deletions