summaryrefslogtreecommitdiffstats
path: root/stdlib/with-stream.tl
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2023-04-08 16:32:52 -0700
committerKaz Kylheku <kaz@kylheku.com>2023-04-08 16:32:52 -0700
commiteb6e492d47b14254f4e1d4ba912ca959bda4a43b (patch)
tree389072a7e84b85a6728d5b7509df9560dbce09dd /stdlib/with-stream.tl
parent73c90f20025cf3780f52ef23fac0fab4ff21c9a1 (diff)
downloadtxr-eb6e492d47b14254f4e1d4ba912ca959bda4a43b.tar.gz
txr-eb6e492d47b14254f4e1d4ba912ca959bda4a43b.tar.bz2
txr-eb6e492d47b14254f4e1d4ba912ca959bda4a43b.zip
compiler: discard wrongheaded discards.
* stdlib/compiler.tl (compiler): Remove discards slot. (compile-in-toplevel, compile-with-fresh-tregs): Do not save and restore discards. (compiler maybe-mov): Method removed. It doesn't require the compiler object so it can just be a function. (maybe-mov): New function. (compiler alloc-discard-treg): Method removed. (compiler free-treg): No need to do anything with discards. (compiler maybe-alloc-treg): No need to check discards. (compiler (comp-setq, comp-if, comp-ift, comp-switch, comp-block, comp-catch, comp-let, comp-fbind, comp-lambda-impl, comp-or, comp-tree-case, comp-load-time-lit): Use maybe-mov function instead of method. (compiler comp-progn): Use alloc-treg rather than alloc-discard-treg, and use maybe-mov function.
Diffstat (limited to 'stdlib/with-stream.tl')
0 files changed, 0 insertions, 0 deletions