diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2018-04-24 20:40:31 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2018-04-24 20:40:31 -0700 |
commit | 822562e3badbfefa2694eb9a715153a11f94078d (patch) | |
tree | 4955d1d3e628c748e550426a52a0a1b141fd7b74 /ffi.h | |
parent | 21a45056fa32e12621da420e207f326060e8ca66 (diff) | |
download | txr-822562e3badbfefa2694eb9a715153a11f94078d.tar.gz txr-822562e3badbfefa2694eb9a715153a11f94078d.tar.bz2 txr-822562e3badbfefa2694eb9a715153a11f94078d.zip |
vm: destroy t-reg values used as call args.
Whe the compiler uses t-regs as function call arguments,
they are t-regs that have no next use and can be
nulled out. We do this to prevent false retention.
* vm.c (vm_getz): New function.
(vm_call, vm_apply, vm_gcall, vm_gapply): Use vm_getz for
fetching arguments.
Diffstat (limited to 'ffi.h')
0 files changed, 0 insertions, 0 deletions