summaryrefslogtreecommitdiffstats
path: root/ftw.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2018-03-27 20:42:45 -0700
committerKaz Kylheku <kaz@kylheku.com>2018-03-27 20:42:45 -0700
commitee5e854dad5c2e5cb25bd928cc633f13e660a31d (patch)
tree3a2f4c640631f5652af451a052ef13a08274435e /ftw.h
parent137ca989b8eb496e5e2237eaf200121e3529dd1f (diff)
downloadtxr-ee5e854dad5c2e5cb25bd928cc633f13e660a31d.tar.gz
txr-ee5e854dad5c2e5cb25bd928cc633f13e660a31d.tar.bz2
txr-ee5e854dad5c2e5cb25bd928cc633f13e660a31d.zip
compiler: use counter instead of preallocating tregs.
* share/txr/stdlib/compiler.tl (compiler): new slot, treg-cntr; slot nregs removed; tregs stack initialized to empty list. (compiler alloc-treg): Take from stack if possible, otherwise create new treg using counter, up to 255. (usr:compile-toplevel): Referenceco.treg-cntr for register count, rather than removed co.nreg.
Diffstat (limited to 'ftw.h')
0 files changed, 0 insertions, 0 deletions