diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2021-03-02 07:31:21 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2021-03-02 07:31:21 -0800 |
commit | a30ae59cf8b8e96687a50705e697f4ccbc1ce94c (patch) | |
tree | 2955c2ddf08920a774166eefec8afe9f8c0fc826 | |
parent | 588db65599c0588905fa38923d01488e9ba9feec (diff) | |
download | txr-a30ae59cf8b8e96687a50705e697f4ccbc1ce94c.tar.gz txr-a30ae59cf8b8e96687a50705e697f4ccbc1ce94c.tar.bz2 txr-a30ae59cf8b8e96687a50705e697f4ccbc1ce94c.zip |
compiler: unmatchable pattern in jump threading.
* share/txr/stdlib/optimize.tl (basic-blocks
thread-jumps-block): The two accidental occurrences of @reg
will never match each other: rename one to @dn.
-rw-r--r-- | share/txr/stdlib/optimize.tl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/txr/stdlib/optimize.tl b/share/txr/stdlib/optimize.tl index e4a6e225..02354e25 100644 --- a/share/txr/stdlib/optimize.tl +++ b/share/txr/stdlib/optimize.tl @@ -266,7 +266,7 @@ (while* (nequal ninsn insn) (set insn ninsn ninsn (match-case insn - (@(require (if @(as reg (d @reg)) @jlabel) + (@(require (if @(as reg (d @dn)) @jlabel) (not (memqual reg bb.lt-dregs))) nil) ((if (t 0) @jlabel) |