summaryrefslogtreecommitdiffstats
path: root/debug.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2018-03-20 20:35:40 -0700
committerKaz Kylheku <kaz@kylheku.com>2018-03-20 20:35:40 -0700
commit5782eb24f96d01fba6d2a98a6b6e9dff04042bd7 (patch)
tree763a769b3330399b36dffd92efd3b9423ace71d5 /debug.c
parent996b7651b3a05ab9ae329467d7d9afdd696aa578 (diff)
downloadtxr-5782eb24f96d01fba6d2a98a6b6e9dff04042bd7.tar.gz
txr-5782eb24f96d01fba6d2a98a6b6e9dff04042bd7.tar.bz2
txr-5782eb24f96d01fba6d2a98a6b6e9dff04042bd7.zip
compiler: improve progn.
* share/txr/stdlib/compiler.tl (compiler comp-progn): If the suggested output register is a variable, progn should not use it for the discarded values of the leading forms, only for the last form. Writes to the variable space of the display are costly because in closures, the underlying vector of a given level has to be passed to gc_mutated. We use a new temp register for the discarded forms.
Diffstat (limited to 'debug.c')
0 files changed, 0 insertions, 0 deletions