diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2018-04-02 08:15:25 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2018-04-02 08:15:25 -0700 |
commit | 65fa23daa475b3fb8a9922508a980529c74933aa (patch) | |
tree | 73b48dab68da8dba8b6c4d7f8073bc3bf1cccbd6 /win | |
parent | 370821a0c8ef107e8cdc2eb7b648e48a958a59c8 (diff) | |
download | txr-65fa23daa475b3fb8a9922508a980529c74933aa.tar.gz txr-65fa23daa475b3fb8a9922508a980529c74933aa.tar.bz2 txr-65fa23daa475b3fb8a9922508a980529c74933aa.zip |
compiler: switch bugfix: missing index code.
* share/txr/stdlib/compiler.tl (comp-switch): Emit the code
for evaluating the switch index. This has been working by
fluke, because when the index is a variable, the assembly
code for ifrag is nil; the swtch instruction accesses the
variable directly and all is cool.
Diffstat (limited to 'win')
0 files changed, 0 insertions, 0 deletions