summaryrefslogtreecommitdiffstats
path: root/vm.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2019-02-19 20:03:55 -0800
committerKaz Kylheku <kaz@kylheku.com>2019-02-19 20:03:55 -0800
commit458cb61cedcd21d2eea0c8588a2050af2b678dac (patch)
treefd7dab6cfd046a535d276f76f662857424f21624 /vm.h
parent2e565908cf8dcc806c853d6765419546d48d1622 (diff)
downloadtxr-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 'vm.h')
0 files changed, 0 insertions, 0 deletions