diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2019-02-19 20:03:55 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2019-02-19 20:03:55 -0800 |
commit | 458cb61cedcd21d2eea0c8588a2050af2b678dac (patch) | |
tree | fd7dab6cfd046a535d276f76f662857424f21624 /jmp.S | |
parent | 2e565908cf8dcc806c853d6765419546d48d1622 (diff) | |
download | txr-458cb61cedcd21d2eea0c8588a2050af2b678dac.tar.gz txr-458cb61cedcd21d2eea0c8588a2050af2b678dac.tar.bz2 txr-458cb61cedcd21d2eea0c8588a2050af2b678dac.zip |
compiler: prof instruction tries to modify t0.
* share/txr/stdlib/compiler.tl (compiler comp-prof): We must
use the incoming oreg as the destination for prof,
and not try to use output register indicated by the compiled
fragment. That fragment may indicate nil as its output,
which we may not clobber. Since we are telling the sub-compile
to try to put the fragment's output into our oreg, in most
cases they still get merged so a single register is re-used.
Diffstat (limited to 'jmp.S')
0 files changed, 0 insertions, 0 deletions