diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2021-05-29 06:29:59 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2021-05-29 06:29:59 -0700 |
commit | c8f12ee44d226924b89cdd764b65a5f6a4030b81 (patch) | |
tree | 642238a77c2feb1466c6c6ba10bb386523ce3d7a /socket.c | |
parent | 0bc1df959700cc60ad6f9f289bcb905dc294ceb1 (diff) | |
download | txr-c8f12ee44d226924b89cdd764b65a5f6a4030b81.tar.gz txr-c8f12ee44d226924b89cdd764b65a5f6a4030b81.tar.bz2 txr-c8f12ee44d226924b89cdd764b65a5f6a4030b81.zip |
compiler: mov into t0 bug in compiling catch form
* share/txr/stdlib/compiler.tl (compiler comp-catch): The
tfrag's output register may be (t 0) in which case the
maybe-mov in the cfrag code generates a mov into (t 0) which
is not allowed. Instead of tfrag.oreg we create an abstrction
coreg which could be either toreg or oreg and consistently use
it.
Diffstat (limited to 'socket.c')
0 files changed, 0 insertions, 0 deletions